#9D209A#9D209A

#9D209A is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.205 H 329.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D209A
RGBrgb(157, 32, 154)
HSLhsl(301, 66%, 37%)
HSVhsv(301, 80%, 62%)
CMYKcmyk(0%, 79.6%, 1.9%, 38.4%)
CIE-LABlab(38.79, 62.49, -37.86)
CIE-LCHlch(38.79, 73.07, 328.79°)
OKLaboklab(49.96% 0.1759 -0.1048)
OKLCHoklch(49.96% 0.205 329.2)
XYZxyz(20.2537, 10.5358, 31.5325)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D209A #209D23
analogous
#62209D #9D209A #9D205C
triadic
#9D209A #9A9D20 #209A9D
tetradic
#9D209A #9D6220 #209D23 #205C9D
square
#9D209A #9D6220 #209D23 #205C9D
split-complementary
#9D209A #5C9D20 #209D62
monochromatic
#370B36 #6A1668 #9D209A #D02ACC #DD5ADA

Accessibility & contrast

On white

6.76
#9D209A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D209A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D209A#FFFFFF#000000##FFFFFF
##9D209A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#A3345D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d209a;
/* rgb */ color: rgb(157, 32, 154);
/* oklch */ color: oklch(50.0% 0.205 329.2);
Tailwind
colors: {
  custom: {
    50: '#be6cb8',
    500: '#9d209a',
    950: '#000000',
  },
}
SCSS
$custom: #9d209a;
$custom-light: #be6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d209a",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 301.44,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49955,
    "c": 0.2048,
    "h": 329.2
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#9D209A
secondary
#57C15A
accent
#E9433F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D209A

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

Preview Lab → · Contrast checker → · Palette generator →

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