#9C2DAD#9C2DAD

#9C2DAD is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 322.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9C2DAD
RGBrgb(156, 45, 173)
HSLhsl(292, 59%, 43%)
HSVhsv(292, 74%, 68%)
CMYKcmyk(9.8%, 74%, 0%, 32.2%)
CIE-LABlab(41.16, 61.51, -45.48)
CIE-LCHlch(41.16, 76.50, 323.52°)
OKLaboklab(51.98% 0.1627 -0.1272)
OKLCHoklch(51.98% 0.207 322)
XYZxyz(22.1907, 11.9631, 40.6673)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2DAD #3EAD2D
analogous
#5C2DAD #9C2DAD #AD2D7E
triadic
#9C2DAD #AD9C2D #2DAD9C
tetradic
#9C2DAD #AD5C2D #3EAD2D #2D7EAD
square
#9C2DAD #AD5C2D #3EAD2D #2D7EAD
split-complementary
#9C2DAD #7EAD2D #2DAD5C
monochromatic
#44144C #70207C #9C2DAD #BD48CF #CF78DC

Accessibility & contrast

On white

6.19
#9C2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C2DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2DAD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2DAD#FFFFFF#000000##FFFFFF
##9C2DAD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#3F65AA
Tritanopia (blue-blind)
#9E456B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2dad;
/* rgb */ color: rgb(156, 45, 173);
/* oklch */ color: oklch(52.0% 0.207 322.0);
Tailwind
colors: {
  custom: {
    50: '#bd72c6',
    500: '#9c2dad',
    950: '#000000',
  },
}
SCSS
$custom: #9c2dad;
$custom-light: #bd72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2dad",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 292.031,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.20652,
    "h": 322
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#9C2DAD
secondary
#7DC472
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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