#hexpedia

Closest to Medium Purple

#9B5FC0

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX9B5FC0
HEX with ##9B5FC0
RGBrgb(155, 95, 192)
RGBArgba(155, 95, 192, 1)
HSLhsl(277.11 43.5% 56.27%)
HSLAhsla(277.11, 43.5%, 56.27%, 1)
HSVhsv(277.11, 50.52%, 75.29%)
CMYKcmyk(19.27%, 50.52%, 0%, 24.71%)
OKLCHoklch(59.19% 0.1539 311.09)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

4.38:1

AA large

Black text

4.79:1

AA normal

Reference notes

As a reference color, #9B5FC0 reads as balanced violet, with Medium Purple as its nearest named anchor. Because the hue is approximately 277 degrees, it belongs to the violet family rather than a neutral family, even when used in small interface details. When documenting the color, keep the hex value as the canonical reference and treat the cool family label as a practical visual description rather than a fixed rule. The contrast checks on this page show whether it is more reliable with black text or white text, which is usually the first practical decision before using the color in UI. The modification grid is useful for finding a border, hover, or background companion without changing the underlying hue family too aggressively. For data visualization, avoid relying on this color alone; combine it with spacing, labels, or pattern differences so meaning is not carried only by hue. Use it for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. Check contrast before placing body text on top of it, and pair it with nearby analogous colors when the design should stay calm.