#9D2CAC#9D2CAC

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

Color values

HEX#9D2CAC
RGBrgb(157, 44, 172)
HSLhsl(293, 59%, 42%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(8.7%, 74.4%, 0%, 32.5%)
CIE-LABlab(41.14, 61.88, -44.92)
CIE-LCHlch(41.14, 76.47, 324.03°)
OKLaboklab(51.97% 0.1649 -0.1255)
OKLCHoklch(51.97% 0.207 322.7)
XYZxyz(22.2510, 11.9493, 40.1562)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CAC #3BAC2C
analogous
#5D2CAC #9D2CAC #AC2C7B
triadic
#9D2CAC #AC9D2C #2CAC9D
tetradic
#9D2CAC #AC5D2C #3BAC2C #2C7BAC
square
#9D2CAC #AC5D2C #3BAC2C #2C7BAC
split-complementary
#9D2CAC #7BAC2C #2CAC5D
monochromatic
#44134B #71207B #9D2CAC #BF46D0 #D076DC

Accessibility & contrast

On white

6.20
#9D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2CAC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CAC#FFFFFF#000000##FFFFFF
##9D2CAC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4065A9
Tritanopia (blue-blind)
#9F446A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9d2cac;
/* rgb */ color: rgb(157, 44, 172);
/* oklch */ color: oklch(52.0% 0.207 322.7);
Tailwind
colors: {
  custom: {
    50: '#be71c5',
    500: '#9d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cac;
$custom-light: #be71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cac",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 292.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.2072,
    "h": 322.7
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#9D2CAC
secondary
#7AC470
accent
#E24558
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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