#9C59DB#9C59DB

#9C59DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.194 H 305.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9C59DB
RGBrgb(156, 89, 219)
HSLhsl(271, 64%, 60%)
HSVhsv(271, 59%, 86%)
CMYKcmyk(28.8%, 59.4%, 0%, 14.1%)
CIE-LABlab(51.07, 51.60, -56.28)
CIE-LCHlch(51.07, 76.35, 312.51°)
OKLaboklab(60.02% 0.1114 -0.1591)
OKLCHoklch(60.02% 0.194 305)
XYZxyz(30.0661, 19.3273, 69.1507)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C59DB #98DB59
analogous
#5B59DB #9C59DB #DB59D9
triadic
#9C59DB #DB9C59 #59DB9C
tetradic
#9C59DB #DB5B59 #98DB59 #59D9DB
square
#9C59DB #DB5B59 #98DB59 #59D9DB
split-complementary
#9C59DB #D9DB59 #59DB5B
monochromatic
#5F2199 #7E2CCB #9C59DB #BA8BE6 #D8BEF1

Accessibility & contrast

On white

4.32
#9C59DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9C59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C59DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C59DB#FFFFFF#000000##000000
##9C59DB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#917392
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9c59db;
/* rgb */ color: rgb(156, 89, 219);
/* oklch */ color: oklch(60.0% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#bd8be7',
    500: '#9c59db',
    950: '#000000',
  },
}
SCSS
$custom: #9c59db;
$custom-light: #bd8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c59db",
  "rgb": {
    "r": 156,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 270.923,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.19421,
    "h": 305
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#9C59DB
secondary
#C7E1AF
accent
#CC1970
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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