#9D59CA#9D59CA

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

Color values

HEX#9D59CA
RGBrgb(157, 89, 202)
HSLhsl(276, 52%, 57%)
HSVhsv(276, 56%, 79%)
CMYKcmyk(22.3%, 55.9%, 0%, 20.8%)
CIE-LABlab(50.19, 47.93, -47.98)
CIE-LCHlch(50.19, 67.82, 314.97°)
OKLaboklab(59.09% 0.1125 -0.1347)
OKLCHoklch(59.09% 0.175 309.9)
XYZxyz(28.1356, 18.5776, 57.9693)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59CA #86CA59
analogous
#6559CA #9D59CA #CA59BF
triadic
#9D59CA #CA9D59 #59CA9D
tetradic
#9D59CA #CA6559 #86CA59 #59BFCA
square
#9D59CA #CA6559 #86CA59 #59BFCA
split-complementary
#9D59CA #BFCA59 #59CA65
monochromatic
#5D2980 #7F38AE #9D59CA #B887D9 #D4B6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D59CA#FFFFFF#000000##000000
##9D59CA1.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)
#3574CE
Deuteranopia (green-blind)
#4D79C7
Tritanopia (blue-blind)
#976D89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d59ca;
/* rgb */ color: rgb(157, 89, 202);
/* oklch */ color: oklch(59.1% 0.175 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd8bdb',
    500: '#9d59ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d59ca;
$custom-light: #bd8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59ca",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 276.106,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.17548,
    "h": 309.9
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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