#9C59DD#9C59DD

#9C59DD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.2% C 0.196 H 304.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9C59DD
RGBrgb(156, 89, 221)
HSLhsl(270, 66%, 61%)
HSVhsv(270, 60%, 87%)
CMYKcmyk(29.4%, 59.7%, 0%, 13.3%)
CIE-LABlab(51.19, 52.07, -57.22)
CIE-LCHlch(51.19, 77.36, 312.30°)
OKLaboklab(60.15% 0.1114 -0.1618)
OKLCHoklch(60.15% 0.196 304.5)
XYZxyz(30.3309, 19.4333, 70.5457)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C59DD #9ADD59
analogous
#5A59DD #9C59DD #DD59DC
triadic
#9C59DD #DD9C59 #59DD9C
tetradic
#9C59DD #DD5A59 #9ADD59 #59DCDD
square
#9C59DD #DD5A59 #9ADD59 #59DCDD
split-complementary
#9C59DD #DCDD59 #59DD5A
monochromatic
#5F209C #7E2ACF #9C59DD #BA8CE7 #D9BFF2

Accessibility & contrast

On white

4.30
#9C59DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9C59DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C59DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C59DD#FFFFFF#000000##000000
##9C59DD1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#907493
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c59dd;
/* rgb */ color: rgb(156, 89, 221);
/* oklch */ color: oklch(60.2% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#bd8be8',
    500: '#9c59dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c59dd;
$custom-light: #bd8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c59dd",
  "rgb": {
    "r": 156,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 270.455,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60152,
    "c": 0.19644,
    "h": 304.5
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#9C59DD
secondary
#C9E2B0
accent
#CE1871
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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