#9D219E#9D219E

#9D219E is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.207 H 327.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D219E
RGBrgb(157, 33, 158)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0.6%, 79.1%, 0%, 38%)
CIE-LABlab(39.12, 62.87, -39.76)
CIE-LCHlch(39.12, 74.39, 327.69°)
OKLaboklab(50.26% 0.175 -0.1104)
OKLCHoklch(50.26% 0.207 327.8)
XYZxyz(20.6198, 10.7260, 33.3254)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D219E #229E21
analogous
#5F219E #9D219E #9E2161
triadic
#9D219E #9E9D21 #219E9D
tetradic
#9D219E #9E5F21 #229E21 #21619E
square
#9D219E #9E5F21 #229E21 #21619E
split-complementary
#9D219E #619E21 #219E5F
monochromatic
#380C39 #6B166B #9D219E #CF2CD1 #DC5CDD

Accessibility & contrast

On white

6.68
#9D219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D219E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D219E#FFFFFF#000000##FFFFFF
##9D219E1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#A23760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d219e;
/* rgb */ color: rgb(157, 33, 158);
/* oklch */ color: oklch(50.3% 0.207 327.8);
Tailwind
colors: {
  custom: {
    50: '#be6cbb',
    500: '#9d219e',
    950: '#000000',
  },
}
SCSS
$custom: #9d219e;
$custom-light: #be6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d219e",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 299.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.20691,
    "h": 327.8
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#9D219E
secondary
#5AC159
accent
#E83F41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D219E

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

Preview Lab → · Contrast checker → · Palette generator →

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