#9D219C#9D219C

#9D219C is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.205 H 328.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D219C
RGBrgb(157, 33, 156)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0%, 79%, 0.6%, 38.4%)
CIE-LABlab(39.00, 62.54, -38.74)
CIE-LCHlch(39.00, 73.57, 328.23°)
OKLaboklab(50.14% 0.1751 -0.1074)
OKLCHoklch(50.14% 0.205 328.5)
XYZxyz(20.4490, 10.6577, 32.4261)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D219C #219D22
analogous
#60219D #9D219C #9D215E
triadic
#9D219C #9C9D21 #219C9D
tetradic
#9D219C #9D6021 #219D22 #215E9D
square
#9D219C #9D6021 #219D22 #215E9D
split-complementary
#9D219C #5E9D21 #219D60
monochromatic
#380C38 #6A166A #9D219C #D02CCE #DD5CDC

Accessibility & contrast

On white

6.71
#9D219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D219C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D219C#FFFFFF#000000##FFFFFF
##9D219C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A2365E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d219c;
/* rgb */ color: rgb(157, 33, 156);
/* oklch */ color: oklch(50.1% 0.205 328.5);
Tailwind
colors: {
  custom: {
    50: '#be6cba',
    500: '#9d219c',
    950: '#000000',
  },
}
SCSS
$custom: #9d219c;
$custom-light: #be6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d219c",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 300.484,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50142,
    "c": 0.2054,
    "h": 328.5
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#9D219C
secondary
#59C15A
accent
#E84140
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D219C

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

Preview Lab → · Contrast checker → · Palette generator →

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