#9D219F#9D219F

#9D219F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.208 H 327.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9D219F
RGBrgb(157, 33, 159)
HSLhsl(299, 66%, 38%)
HSVhsv(299, 79%, 62%)
CMYKcmyk(1.3%, 79.2%, 0%, 37.6%)
CIE-LABlab(39.17, 63.04, -40.27)
CIE-LCHlch(39.17, 74.80, 327.43°)
OKLaboklab(50.32% 0.175 -0.1118)
OKLCHoklch(50.32% 0.208 327.4)
XYZxyz(20.7062, 10.7605, 33.7806)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D219F #239F21
analogous
#5E219F #9D219F #9F2162
triadic
#9D219F #9F9D21 #219F9D
tetradic
#9D219F #9F5E21 #239F21 #21629F
square
#9D219F #9F5E21 #239F21 #21629F
split-complementary
#9D219F #629F21 #219F5E
monochromatic
#390C3A #6B166C #9D219F #CF2CD2 #DB5DDD

Accessibility & contrast

On white

6.66
#9D219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D219F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D219F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D219F#FFFFFF#000000##FFFFFF
##9D219F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#A23860
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d219f;
/* rgb */ color: rgb(157, 33, 159);
/* oklch */ color: oklch(50.3% 0.208 327.4);
Tailwind
colors: {
  custom: {
    50: '#be6cbc',
    500: '#9d219f',
    950: '#000000',
  },
}
SCSS
$custom: #9d219f;
$custom-light: #be6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d219f",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 299.048,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50324,
    "c": 0.20767,
    "h": 327.4
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#9D219F
secondary
#5CC25A
accent
#E93F42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D219F

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

Preview Lab → · Contrast checker → · Palette generator →

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