#9C59CA#9C59CA

#9C59CA is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.175 H 309.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9C59CA
RGBrgb(156, 89, 202)
HSLhsl(276, 52%, 57%)
HSVhsv(276, 56%, 79%)
CMYKcmyk(22.8%, 55.9%, 0%, 20.8%)
CIE-LABlab(50.07, 47.68, -48.17)
CIE-LCHlch(50.07, 67.78, 314.70°)
OKLaboklab(58.97% 0.1112 -0.1353)
OKLCHoklch(58.97% 0.175 309.4)
XYZxyz(27.9413, 18.4774, 57.9602)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C59CA #87CA59
analogous
#6459CA #9C59CA #CA59C0
triadic
#9C59CA #CA9C59 #59CA9C
tetradic
#9C59CA #CA6459 #87CA59 #59C0CA
square
#9C59CA #CA6459 #87CA59 #59C0CA
split-complementary
#9C59CA #C0CA59 #59CA64
monochromatic
#5C2980 #7E38AE #9C59CA #B887D9 #D3B6E8

Accessibility & contrast

On white

4.47
#9C59CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9C59CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C59CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C59CA#FFFFFF#000000##000000
##9C59CA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#966D89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9c59ca;
/* rgb */ color: rgb(156, 89, 202);
/* oklch */ color: oklch(59.0% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc8bdb',
    500: '#9c59ca',
    950: '#000000',
  },
}
SCSS
$custom: #9c59ca;
$custom-light: #bc8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c59ca",
  "rgb": {
    "r": 156,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 275.575,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.17515,
    "h": 309.4
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

primary
#9C59CA
secondary
#BBD6A8
accent
#DB4D87
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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