#9D209F#9D209F

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

Color values

HEX#9D209F
RGBrgb(157, 32, 159)
HSLhsl(299, 66%, 37%)
HSVhsv(299, 80%, 62%)
CMYKcmyk(1.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(39.08, 63.31, -40.42)
CIE-LCHlch(39.08, 75.11, 327.45°)
OKLaboklab(50.26% 0.1757 -0.1123)
OKLCHoklch(50.26% 0.209 327.4)
XYZxyz(20.6788, 10.7058, 33.7715)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D209F #229F20
analogous
#5D209F #9D209F #9F2062
triadic
#9D209F #9F9D20 #209F9D
tetradic
#9D209F #9F5D20 #229F20 #20629F
square
#9D209F #9F5D20 #229F20 #20629F
split-complementary
#9D209F #629F20 #209F5D
monochromatic
#380B39 #6B166C #9D209F #CF2AD2 #DC5BDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D209F#FFFFFF#000000##FFFFFF
##9D209F1.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)
#0052A2
Deuteranopia (green-blind)
#44619C
Tritanopia (blue-blind)
#A23760
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d209f;
/* rgb */ color: rgb(157, 32, 159);
/* oklch */ color: oklch(50.3% 0.209 327.4);
Tailwind
colors: {
  custom: {
    50: '#be6cbc',
    500: '#9d209f',
    950: '#000000',
  },
}
SCSS
$custom: #9d209f;
$custom-light: #be6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d209f",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 299.055,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.20854,
    "h": 327.4
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#9D209F
secondary
#5AC259
accent
#E93E41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D209F

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

Preview Lab → · Contrast checker → · Palette generator →

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