#9D2DAC#9D2DAC

#9D2DAC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.206 H 322.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9D2DAC
RGBrgb(157, 45, 172)
HSLhsl(293, 59%, 43%)
HSVhsv(293, 74%, 67%)
CMYKcmyk(8.7%, 73.8%, 0%, 32.5%)
CIE-LABlab(41.26, 61.54, -44.72)
CIE-LCHlch(41.26, 76.08, 323.99°)
OKLaboklab(52.06% 0.164 -0.1249)
OKLCHoklch(52.06% 0.206 322.7)
XYZxyz(22.2887, 12.0247, 40.1687)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DAC #3CAC2D
analogous
#5D2DAC #9D2DAC #AC2D7C
triadic
#9D2DAC #AC9D2D #2DAC9D
tetradic
#9D2DAC #AC5D2D #3CAC2D #2D7CAC
square
#9D2DAC #AC5D2D #3CAC2D #2D7CAC
split-complementary
#9D2DAC #7CAC2D #2DAC5D
monochromatic
#44144B #71207B #9D2DAC #BF47CF #D078DC

Accessibility & contrast

On white

6.17
#9D2DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9D2DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DAC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DAC#FFFFFF#000000##FFFFFF
##9D2DAC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2dac;
/* rgb */ color: rgb(157, 45, 172);
/* oklch */ color: oklch(52.1% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#be72c5',
    500: '#9d2dac',
    950: '#000000',
  },
}
SCSS
$custom: #9d2dac;
$custom-light: #be72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2dac",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 172
  },
  "hsl": {
    "h": 292.913,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52056,
    "c": 0.20612,
    "h": 322.7
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#9D2DAC
secondary
#7BC471
accent
#E24658
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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