#9D219D#9D219D

#9D219D is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.206 H 328.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D219D
RGBrgb(157, 33, 157)
HSLhsl(300, 65%, 37%)
HSVhsv(300, 79%, 62%)
CMYKcmyk(0%, 79%, 0%, 38.4%)
CIE-LABlab(39.06, 62.71, -39.25)
CIE-LCHlch(39.06, 73.98, 327.96°)
OKLaboklab(50.2% 0.1751 -0.1089)
OKLCHoklch(50.2% 0.206 328.1)
XYZxyz(20.5340, 10.6917, 32.8739)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D219D #219D21
analogous
#5F219D #9D219D #9D215F
triadic
#9D219D #9D9D21 #219D9D
tetradic
#9D219D #9D5F21 #219D21 #215F9D
square
#9D219D #9D5F21 #219D21 #215F9D
split-complementary
#9D219D #5F9D21 #219D5F
monochromatic
#380C38 #6A166A #9D219D #D02CD0 #DD5CDD

Accessibility & contrast

On white

6.69
#9D219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D219D
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D219D#FFFFFF#000000##FFFFFF
##9D219D1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A2365F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d219d;
/* rgb */ color: rgb(157, 33, 157);
/* oklch */ color: oklch(50.2% 0.206 328.1);
Tailwind
colors: {
  custom: {
    50: '#be6cba',
    500: '#9d219d',
    950: '#000000',
  },
}
SCSS
$custom: #9d219d;
$custom-light: #be6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d219d",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.20616,
    "h": 328.1
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#9D219D
secondary
#59C159
accent
#E84040
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D219D

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

Preview Lab → · Contrast checker → · Palette generator →

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