#9D208D#9D208D

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

Color values

HEX#9D208D
RGBrgb(157, 32, 141)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 80%, 62%)
CMYKcmyk(0%, 79.6%, 10.2%, 38.4%)
CIE-LABlab(38.07, 60.47, -31.08)
CIE-LCHlch(38.07, 67.99, 332.80°)
OKLaboklab(49.21% 0.1758 -0.0852)
OKLCHoklch(49.21% 0.195 334.1)
XYZxyz(19.2291, 10.1259, 26.1359)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D208D #209D30
analogous
#6F209D #9D208D #9D204F
triadic
#9D208D #8D9D20 #208D9D
tetradic
#9D208D #9D6F20 #209D30 #204F9D
square
#9D208D #9D6F20 #209D30 #204F9D
split-complementary
#9D208D #4F9D20 #209D6F
monochromatic
#370B32 #6A165F #9D208D #D02ABB #DD5ACD

Accessibility & contrast

On white

6.94
#9D208D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D208D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D208D#FFFFFF#000000##FFFFFF
##9D208D1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#A52D56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d208d;
/* rgb */ color: rgb(157, 32, 141);
/* oklch */ color: oklch(49.2% 0.195 334.1);
Tailwind
colors: {
  custom: {
    50: '#be6baf',
    500: '#9d208d',
    950: '#000000',
  },
}
SCSS
$custom: #9d208d;
$custom-light: #be6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d208d",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 307.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.19535,
    "h": 334.1
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#9D208D
secondary
#57C165
accent
#E9553F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D208D

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

Preview Lab → · Contrast checker → · Palette generator →

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