#9C2DB4#9C2DB4

#9C2DB4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.212 H 319.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C2DB4
RGBrgb(156, 45, 180)
HSLhsl(289, 60%, 44%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(13.3%, 75%, 0%, 29.4%)
CIE-LABlab(41.60, 62.80, -48.93)
CIE-LCHlch(41.60, 79.61, 322.08°)
OKLaboklab(52.43% 0.1621 -0.1372)
OKLCHoklch(52.43% 0.212 319.8)
XYZxyz(22.8859, 12.2411, 44.3285)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DB4 #45B42D
analogous
#582DB4 #9C2DB4 #B42D89
triadic
#9C2DB4 #B49C2D #2DB49C
tetradic
#9C2DB4 #B4582D #45B42D #2D89B4
square
#9C2DB4 #B4582D #45B42D #2D89B4
split-complementary
#9C2DB4 #89B42D #2DB458
monochromatic
#471552 #722183 #9C2DB4 #BA4CD2 #CD7DDE

Accessibility & contrast

On white

6.09
#9C2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9C2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DB4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DB4#FFFFFF#000000##FFFFFF
##9C2DB41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#9C496F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2db4;
/* rgb */ color: rgb(156, 45, 180);
/* oklch */ color: oklch(52.4% 0.212 319.8);
Tailwind
colors: {
  custom: {
    50: '#bd72cb',
    500: '#9c2db4',
    950: '#000000',
  },
}
SCSS
$custom: #9c2db4;
$custom-light: #bd72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2db4",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 289.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.21243,
    "h": 319.8
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#9C2DB4
secondary
#84C776
accent
#E34561
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9C2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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