#9D219A#9D219A

#9D219A is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.204 H 329.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D219A
RGBrgb(157, 33, 154)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 62%)
CMYKcmyk(0%, 79%, 1.9%, 38.4%)
CIE-LABlab(38.88, 62.22, -37.71)
CIE-LCHlch(38.88, 72.76, 328.78°)
OKLaboklab(50.02% 0.1752 -0.1044)
OKLCHoklch(50.02% 0.204 329.2)
XYZxyz(20.2811, 10.5905, 31.5416)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D219A #219D24
analogous
#62219D #9D219A #9D215C
triadic
#9D219A #9A9D21 #219A9D
tetradic
#9D219A #9D6221 #219D24 #215C9D
square
#9D219A #9D6221 #219D24 #215C9D
split-complementary
#9D219A #5C9D21 #219D62
monochromatic
#380C37 #6A1668 #9D219A #D02CCC #DD5CDA

Accessibility & contrast

On white

6.74
#9D219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D219A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D219A#FFFFFF#000000##FFFFFF
##9D219A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04519D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#A3355D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d219a;
/* rgb */ color: rgb(157, 33, 154);
/* oklch */ color: oklch(50.0% 0.204 329.2);
Tailwind
colors: {
  custom: {
    50: '#be6cb8',
    500: '#9d219a',
    950: '#000000',
  },
}
SCSS
$custom: #9d219a;
$custom-light: #be6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d219a",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 301.452,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.20391,
    "h": 329.2
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#9D219A
secondary
#59C15B
accent
#E84440
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D219A

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

Preview Lab → · Contrast checker → · Palette generator →

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