#9C2CAC#9C2CAC

#9C2CAC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.207 H 322.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9C2CAC
RGBrgb(156, 44, 172)
HSLhsl(293, 59%, 42%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(9.3%, 74.4%, 0%, 32.5%)
CIE-LABlab(40.98, 61.67, -45.18)
CIE-LCHlch(40.98, 76.45, 323.77°)
OKLaboklab(51.83% 0.1637 -0.1263)
OKLCHoklch(51.83% 0.207 322.4)
XYZxyz(22.0566, 11.8491, 40.1471)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2CAC #3CAC2C
analogous
#5C2CAC #9C2CAC #AC2C7C
triadic
#9C2CAC #AC9C2C #2CAC9C
tetradic
#9C2CAC #AC5C2C #3CAC2C #2C7CAC
square
#9C2CAC #AC5C2C #3CAC2C #2C7CAC
split-complementary
#9C2CAC #7CAC2C #2CAC5C
monochromatic
#44134B #70207B #9C2CAC #BE46D0 #CF76DC

Accessibility & contrast

On white

6.23
#9C2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9C2CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2CAC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2CAC#FFFFFF#000000##FFFFFF
##9C2CAC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#9E446A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c2cac;
/* rgb */ color: rgb(156, 44, 172);
/* oklch */ color: oklch(51.8% 0.207 322.4);
Tailwind
colors: {
  custom: {
    50: '#bd71c5',
    500: '#9c2cac',
    950: '#000000',
  },
}
SCSS
$custom: #9c2cac;
$custom-light: #bd71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2cac",
  "rgb": {
    "r": 156,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 292.5,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.20677,
    "h": 322.4
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#9C2CAC
secondary
#7AC470
accent
#E24559
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9C2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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