#9D59CE#9D59CE

#9D59CE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.180 H 308.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9D59CE
RGBrgb(157, 89, 206)
HSLhsl(275, 54%, 58%)
HSVhsv(275, 57%, 81%)
CMYKcmyk(23.8%, 56.8%, 0%, 19.2%)
CIE-LABlab(50.42, 48.83, -49.91)
CIE-LCHlch(50.42, 69.83, 314.38°)
OKLaboklab(59.33% 0.1126 -0.1404)
OKLCHoklch(59.33% 0.18 308.7)
XYZxyz(28.6154, 18.7695, 60.4960)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59CE #8ACE59
analogous
#6259CE #9D59CE #CE59C4
triadic
#9D59CE #CE9D59 #59CE9D
tetradic
#9D59CE #CE6259 #8ACE59 #59C4CE
square
#9D59CE #CE6259 #8ACE59 #59C4CE
split-complementary
#9D59CE #C4CE59 #59CE62
monochromatic
#5E2785 #7F35B5 #9D59CE #B988DC #D5B8EA

Accessibility & contrast

On white

4.42
#9D59CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9D59CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59CE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59CE#FFFFFF#000000##000000
##9D59CE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#966F8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d59ce;
/* rgb */ color: rgb(157, 89, 206);
/* oklch */ color: oklch(59.3% 0.180 308.7);
Tailwind
colors: {
  custom: {
    50: '#bd8bdd',
    500: '#9d59ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d59ce;
$custom-light: #bd8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59ce",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 274.872,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59326,
    "c": 0.17995,
    "h": 308.7
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#9D59CE
secondary
#BED9AA
accent
#DE4A88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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