#9D209B#9D209B

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

Color values

HEX#9D209B
RGBrgb(157, 32, 155)
HSLhsl(301, 66%, 37%)
HSVhsv(301, 80%, 62%)
CMYKcmyk(0%, 79.6%, 1.3%, 38.4%)
CIE-LABlab(38.85, 62.66, -38.37)
CIE-LCHlch(38.85, 73.47, 328.51°)
OKLaboklab(50.02% 0.1759 -0.1063)
OKLCHoklch(50.02% 0.206 328.8)
XYZxyz(20.3374, 10.5692, 31.9729)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D209B #209D22
analogous
#61209D #9D209B #9D205D
triadic
#9D209B #9B9D20 #209B9D
tetradic
#9D209B #9D6120 #209D22 #205D9D
square
#9D209B #9D6120 #209D22 #205D9D
split-complementary
#9D209B #5D9D20 #209D61
monochromatic
#370B37 #6A1669 #9D209B #D02ACD #DD5ADB

Accessibility & contrast

On white

6.74
#9D209B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D209B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D209B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D209B#FFFFFF#000000##FFFFFF
##9D209B1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A2355E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d209b;
/* rgb */ color: rgb(157, 32, 155);
/* oklch */ color: oklch(50.0% 0.206 328.8);
Tailwind
colors: {
  custom: {
    50: '#be6cb9',
    500: '#9d209b',
    950: '#000000',
  },
}
SCSS
$custom: #9d209b;
$custom-light: #be6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d209b",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 300.96,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.20554,
    "h": 328.8
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#9D209B
secondary
#57C159
accent
#E9413F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D209B

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

Preview Lab → · Contrast checker → · Palette generator →

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