#9D208E#9D208E

#9D208E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.196 H 333.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D208E
RGBrgb(157, 32, 142)
HSLhsl(307, 66%, 37%)
HSVhsv(307, 80%, 62%)
CMYKcmyk(0%, 79.6%, 9.6%, 38.4%)
CIE-LABlab(38.12, 60.63, -31.61)
CIE-LCHlch(38.12, 68.37, 332.47°)
OKLaboklab(49.26% 0.1758 -0.0867)
OKLCHoklch(49.26% 0.196 333.7)
XYZxyz(19.3038, 10.1558, 26.5295)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D208E #209D2F
analogous
#6E209D #9D208E #9D2050
triadic
#9D208E #8E9D20 #208E9D
tetradic
#9D208E #9D6E20 #209D2F #20509D
square
#9D208E #9D6E20 #209D2F #20509D
split-complementary
#9D208E #509D20 #209D6E
monochromatic
#370B32 #6A1660 #9D208E #D02ABC #DD5ACE

Accessibility & contrast

On white

6.93
#9D208E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D208E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D208E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D208E#FFFFFF#000000##FFFFFF
##9D208E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A52E56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d208e;
/* rgb */ color: rgb(157, 32, 142);
/* oklch */ color: oklch(49.3% 0.196 333.7);
Tailwind
colors: {
  custom: {
    50: '#be6baf',
    500: '#9d208e',
    950: '#000000',
  },
}
SCSS
$custom: #9d208e;
$custom-light: #be6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d208e",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 307.2,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.19607,
    "h": 333.7
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9D208E
secondary
#57C164
accent
#E9533F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D208E

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

Preview Lab → · Contrast checker → · Palette generator →

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