#9C59CD#9C59CD

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

Color values

HEX#9C59CD
RGBrgb(156, 89, 205)
HSLhsl(275, 54%, 58%)
HSVhsv(275, 57%, 80%)
CMYKcmyk(23.9%, 56.6%, 0%, 19.6%)
CIE-LABlab(50.24, 48.36, -49.62)
CIE-LCHlch(50.24, 69.29, 314.26°)
OKLaboklab(59.15% 0.1113 -0.1395)
OKLCHoklch(59.15% 0.179 308.6)
XYZxyz(28.2999, 18.6209, 59.8491)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C59CD #8ACD59
analogous
#6259CD #9C59CD #CD59C4
triadic
#9C59CD #CD9C59 #59CD9C
tetradic
#9C59CD #CD6259 #8ACD59 #59C4CD
square
#9C59CD #CD6259 #8ACD59 #59C4CD
split-complementary
#9C59CD #C4CD59 #59CD62
monochromatic
#5D2884 #7E36B3 #9C59CD #B888DB #D4B7E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C59CD#FFFFFF#000000##000000
##9C59CD1.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)
#3175D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#956E8B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c59cd;
/* rgb */ color: rgb(156, 89, 205);
/* oklch */ color: oklch(59.2% 0.179 308.6);
Tailwind
colors: {
  custom: {
    50: '#bc8bdd',
    500: '#9c59cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c59cd;
$custom-light: #bc8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c59cd",
  "rgb": {
    "r": 156,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 274.655,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.17851,
    "h": 308.6
  },
  "luminance": 0.1862
}

Semantic roles & 50–950 ramp

primary
#9C59CD
secondary
#BDD8AA
accent
#DD4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C59CD

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

Preview Lab → · Contrast checker → · Palette generator →

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