#9D2DC1#9D2DC1

#9D2DC1 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.224 H 316.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D2DC1
RGBrgb(157, 45, 193)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(18.7%, 76.7%, 0%, 24.3%)
CIE-LABlab(42.61, 65.45, -54.93)
CIE-LCHlch(42.61, 85.45, 320.00°)
OKLaboklab(53.45% 0.1617 -0.1548)
OKLCHoklch(53.45% 0.224 316.3)
XYZxyz(24.4672, 12.8961, 51.6421)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DC1 #51C12D
analogous
#532DC1 #9D2DC1 #C12D9B
triadic
#9D2DC1 #C19D2D #2DC19D
tetradic
#9D2DC1 #C1532D #51C12D #2D9BC1
square
#9D2DC1 #C1532D #51C12D #2D9BC1
split-complementary
#9D2DC1 #9BC12D #2DC153
monochromatic
#4C165E #75218F #9D2DC1 #B754D7 #CC86E3

Accessibility & contrast

On white

5.87
#9D2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D2DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DC1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DC1#FFFFFF#000000##FFFFFF
##9D2DC11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#9B4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2dc1;
/* rgb */ color: rgb(157, 45, 193);
/* oklch */ color: oklch(53.4% 0.224 316.3);
Tailwind
colors: {
  custom: {
    50: '#be73d4',
    500: '#9d2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2dc1;
$custom-light: #be73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2dc1",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 285.405,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.22388,
    "h": 316.3
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#9D2DC1
secondary
#91CC7E
accent
#E5436A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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