#9D208C#9D208C

#9D208C is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.195 H 334.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D208C
RGBrgb(157, 32, 140)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 80%, 62%)
CMYKcmyk(0%, 79.6%, 10.8%, 38.4%)
CIE-LABlab(38.01, 60.32, -30.55)
CIE-LCHlch(38.01, 67.62, 333.14°)
OKLaboklab(49.15% 0.1757 -0.0837)
OKLCHoklch(49.15% 0.195 334.5)
XYZxyz(19.1550, 10.0963, 25.7458)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D208C #209D31
analogous
#70209D #9D208C #9D204E
triadic
#9D208C #8C9D20 #208C9D
tetradic
#9D208C #9D7020 #209D31 #204E9D
square
#9D208C #9D7020 #209D31 #204E9D
split-complementary
#9D208C #4E9D20 #209D70
monochromatic
#370B31 #6A165F #9D208C #D02AB9 #DD5ACC

Accessibility & contrast

On white

6.96
#9D208C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D208C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D208C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D208C#FFFFFF#000000##FFFFFF
##9D208C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A52D55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d208c;
/* rgb */ color: rgb(157, 32, 140);
/* oklch */ color: oklch(49.2% 0.195 334.5);
Tailwind
colors: {
  custom: {
    50: '#be6bae',
    500: '#9d208c',
    950: '#000000',
  },
}
SCSS
$custom: #9d208c;
$custom-light: #be6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d208c",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 308.16,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.19465,
    "h": 334.5
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

primary
#9D208C
secondary
#57C166
accent
#E9563F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D208C

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

Preview Lab → · Contrast checker → · Palette generator →

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