#9D209E#9D209E

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

Color values

HEX#9D209E
RGBrgb(157, 32, 158)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0.6%, 79.7%, 0%, 38%)
CIE-LABlab(39.02, 63.14, -39.91)
CIE-LCHlch(39.02, 74.70, 327.71°)
OKLaboklab(50.2% 0.1758 -0.1108)
OKLCHoklch(50.2% 0.208 327.8)
XYZxyz(20.5924, 10.6713, 33.3163)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D209E #219E20
analogous
#5E209E #9D209E #9E2060
triadic
#9D209E #9E9D20 #209E9D
tetradic
#9D209E #9E5E20 #219E20 #20609E
square
#9D209E #9E5E20 #219E20 #20609E
split-complementary
#9D209E #609E20 #209E5E
monochromatic
#380B38 #6A166B #9D209E #D02AD1 #DD5BDE

Accessibility & contrast

On white

6.70
#9D209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D209E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D209E#FFFFFF#000000##FFFFFF
##9D209E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d209e;
/* rgb */ color: rgb(157, 32, 158);
/* oklch */ color: oklch(50.2% 0.208 327.8);
Tailwind
colors: {
  custom: {
    50: '#be6cbb',
    500: '#9d209e',
    950: '#000000',
  },
}
SCSS
$custom: #9d209e;
$custom-light: #be6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d209e",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 299.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.20779,
    "h": 327.8
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#9D209E
secondary
#59C258
accent
#E93F40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D209E

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

Preview Lab → · Contrast checker → · Palette generator →

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