#9D209C#9D209C

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

Color values

HEX#9D209C
RGBrgb(157, 32, 156)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0%, 79.6%, 0.6%, 38.4%)
CIE-LABlab(38.90, 62.82, -38.89)
CIE-LCHlch(38.90, 73.88, 328.24°)
OKLaboklab(50.08% 0.1759 -0.1078)
OKLCHoklch(50.08% 0.206 328.5)
XYZxyz(20.4217, 10.6030, 32.4170)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D209C #209D21
analogous
#60209D #9D209C #9D205E
triadic
#9D209C #9C9D20 #209C9D
tetradic
#9D209C #9D6020 #209D21 #205E9D
square
#9D209C #9D6020 #209D21 #205E9D
split-complementary
#9D209C #5E9D20 #209D60
monochromatic
#370B37 #6A1669 #9D209C #D02ACF #DD5ADC

Accessibility & contrast

On white

6.73
#9D209C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D209C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D209C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D209C#FFFFFF#000000##FFFFFF
##9D209C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#466199
Tritanopia (blue-blind)
#A2355E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d209c;
/* rgb */ color: rgb(157, 32, 156);
/* oklch */ color: oklch(50.1% 0.206 328.5);
Tailwind
colors: {
  custom: {
    50: '#be6cba',
    500: '#9d209c',
    950: '#000000',
  },
}
SCSS
$custom: #9d209c;
$custom-light: #be6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d209c",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 300.48,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.20629,
    "h": 328.5
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#9D209C
secondary
#57C158
accent
#E9403F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D209C

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

Preview Lab → · Contrast checker → · Palette generator →

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