#9C2DB6#9C2DB6

#9C2DB6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.214 H 319.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C2DB6
RGBrgb(156, 45, 182)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(14.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(41.73, 63.17, -49.90)
CIE-LCHlch(41.73, 80.50, 321.70°)
OKLaboklab(52.56% 0.1619 -0.1401)
OKLCHoklch(52.56% 0.214 319.1)
XYZxyz(23.0911, 12.3232, 45.4092)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DB6 #47B62D
analogous
#582DB6 #9C2DB6 #B62D8C
triadic
#9C2DB6 #B69C2D #2DB69C
tetradic
#9C2DB6 #B6582D #47B62D #2D8CB6
square
#9C2DB6 #B6582D #47B62D #2D8CB6
split-complementary
#9C2DB6 #8CB62D #2DB658
monochromatic
#481554 #722185 #9C2DB6 #BA4DD3 #CD7EDF

Accessibility & contrast

On white

6.06
#9C2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C2DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DB6
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DB6#FFFFFF#000000##FFFFFF
##9C2DB61.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#9C4970
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2db6;
/* rgb */ color: rgb(156, 45, 182);
/* oklch */ color: oklch(52.6% 0.214 319.1);
Tailwind
colors: {
  custom: {
    50: '#bd72cd',
    500: '#9c2db6',
    950: '#000000',
  },
}
SCSS
$custom: #9c2db6;
$custom-light: #bd72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2db6",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 288.613,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.21412,
    "h": 319.1
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#9C2DB6
secondary
#86C877
accent
#E34463
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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