#9D209D#9D209D

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

Color values

HEX#9D209D
RGBrgb(157, 32, 157)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0%, 79.6%, 0%, 38.4%)
CIE-LABlab(38.96, 62.98, -39.40)
CIE-LCHlch(38.96, 74.29, 327.97°)
OKLaboklab(50.14% 0.1758 -0.1093)
OKLCHoklch(50.14% 0.207 328.1)
XYZxyz(20.5067, 10.6370, 32.8648)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D209D #209D20
analogous
#5F209D #9D209D #9D205F
triadic
#9D209D #9D9D20 #209D9D
tetradic
#9D209D #9D5F20 #209D20 #205F9D
square
#9D209D #9D5F20 #209D20 #205F9D
split-complementary
#9D209D #5F9D20 #209D5F
monochromatic
#370B37 #6A166A #9D209D #D02AD0 #DD5ADD

Accessibility & contrast

On white

6.72
#9D209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D209D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D209D#FFFFFF#000000##FFFFFF
##9D209D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A2365F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d209d;
/* rgb */ color: rgb(157, 32, 157);
/* oklch */ color: oklch(50.1% 0.207 328.1);
Tailwind
colors: {
  custom: {
    50: '#be6cba',
    500: '#9d209d',
    950: '#000000',
  },
}
SCSS
$custom: #9d209d;
$custom-light: #be6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d209d",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.20704,
    "h": 328.1
  },
  "luminance": 0.10635
}

Semantic roles & 50–950 ramp

primary
#9D209D
secondary
#57C157
accent
#E93F3F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D209D

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

Preview Lab → · Contrast checker → · Palette generator →

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