#9B59CF#9B59CF

#9B59CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.180 H 307.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9B59CF
RGBrgb(155, 89, 207)
HSLhsl(274, 55%, 58%)
HSVhsv(274, 57%, 81%)
CMYKcmyk(25.1%, 57%, 0%, 18.8%)
CIE-LABlab(50.24, 48.56, -50.78)
CIE-LCHlch(50.24, 70.26, 313.72°)
OKLaboklab(59.16% 0.1101 -0.143)
OKLCHoklch(59.16% 0.18 307.6)
XYZxyz(28.3501, 18.6187, 61.1196)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59CF #8DCF59
analogous
#6059CF #9B59CF #CF59C8
triadic
#9B59CF #CF9B59 #59CF9B
tetradic
#9B59CF #CF6059 #8DCF59 #59C8CF
square
#9B59CF #CF6059 #8DCF59 #59C8CF
split-complementary
#9B59CF #C8CF59 #59CF60
monochromatic
#5C2787 #7D35B6 #9B59CF #B888DD #D4B8EA

Accessibility & contrast

On white

4.45
#9B59CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9B59CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59CF#FFFFFF#000000##000000
##9B59CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#936F8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b59cf;
/* rgb */ color: rgb(155, 89, 207);
/* oklch */ color: oklch(59.2% 0.180 307.6);
Tailwind
colors: {
  custom: {
    50: '#bc8bde',
    500: '#9b59cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b59cf;
$custom-light: #bc8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59cf",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 273.559,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.18044,
    "h": 307.6
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

primary
#9B59CF
secondary
#BFD9AA
accent
#DE498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B59CF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9B59CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva