#9D208B#9D208B

#9D208B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.194 H 334.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D208B
RGBrgb(157, 32, 139)
HSLhsl(309, 66%, 37%)
HSVhsv(309, 80%, 62%)
CMYKcmyk(0%, 79.6%, 11.5%, 38.4%)
CIE-LABlab(37.96, 60.18, -30.01)
CIE-LCHlch(37.96, 67.25, 333.49°)
OKLaboklab(49.1% 0.1757 -0.0821)
OKLCHoklch(49.1% 0.194 334.9)
XYZxyz(19.0816, 10.0669, 25.3593)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D208B #209D32
analogous
#71209D #9D208B #9D204D
triadic
#9D208B #8B9D20 #208B9D
tetradic
#9D208B #9D7120 #209D32 #204D9D
square
#9D208B #9D7120 #209D32 #204D9D
split-complementary
#9D208B #4D9D20 #209D71
monochromatic
#370B31 #6A165E #9D208B #D02AB8 #DD5ACA

Accessibility & contrast

On white

6.97
#9D208B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D208B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D208B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D208B#FFFFFF#000000##FFFFFF
##9D208B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A52C55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d208b;
/* rgb */ color: rgb(157, 32, 139);
/* oklch */ color: oklch(49.1% 0.194 334.9);
Tailwind
colors: {
  custom: {
    50: '#be6bad',
    500: '#9d208b',
    950: '#000000',
  },
}
SCSS
$custom: #9d208b;
$custom-light: #be6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9d208b",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 308.64,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.491,
    "c": 0.19395,
    "h": 334.9
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#9D208B
secondary
#57C167
accent
#E9573F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D208B

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

Preview Lab → · Contrast checker → · Palette generator →

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