#9D219B#9D219B

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

Color values

HEX#9D219B
RGBrgb(157, 33, 155)
HSLhsl(301, 65%, 37%)
HSVhsv(301, 79%, 62%)
CMYKcmyk(0%, 79%, 1.3%, 38.4%)
CIE-LABlab(38.94, 62.38, -38.22)
CIE-LCHlch(38.94, 73.16, 328.50°)
OKLaboklab(50.08% 0.1751 -0.1059)
OKLCHoklch(50.08% 0.205 328.8)
XYZxyz(20.3647, 10.6239, 31.9820)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D219B #219D23
analogous
#61219D #9D219B #9D215D
triadic
#9D219B #9B9D21 #219B9D
tetradic
#9D219B #9D6121 #219D23 #215D9D
square
#9D219B #9D6121 #219D23 #215D9D
split-complementary
#9D219B #5D9D21 #219D61
monochromatic
#380C37 #6A1669 #9D219B #D02CCD #DD5CDB

Accessibility & contrast

On white

6.72
#9D219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D219B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D219B#FFFFFF#000000##FFFFFF
##9D219B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519E
Deuteranopia (green-blind)
#476198
Tritanopia (blue-blind)
#A2355E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d219b;
/* rgb */ color: rgb(157, 33, 155);
/* oklch */ color: oklch(50.1% 0.205 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6cb9',
    500: '#9d219b',
    950: '#000000',
  },
}
SCSS
$custom: #9d219b;
$custom-light: #be6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d219b",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 300.968,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.20465,
    "h": 328.8
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D219B

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

Preview Lab → · Contrast checker → · Palette generator →

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