#9D208F#9D208F

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

Color values

HEX#9D208F
RGBrgb(157, 32, 143)
HSLhsl(307, 66%, 37%)
HSVhsv(307, 80%, 62%)
CMYKcmyk(0%, 79.6%, 8.9%, 38.4%)
CIE-LABlab(38.17, 60.78, -32.13)
CIE-LCHlch(38.17, 68.75, 332.13°)
OKLaboklab(49.32% 0.1759 -0.0882)
OKLCHoklch(49.32% 0.197 333.4)
XYZxyz(19.3792, 10.1860, 26.9267)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D208F #209D2E
analogous
#6D209D #9D208F #9D2051
triadic
#9D208F #8F9D20 #208F9D
tetradic
#9D208F #9D6D20 #209D2E #20519D
square
#9D208F #9D6D20 #209D2E #20519D
split-complementary
#9D208F #519D20 #209D6D
monochromatic
#370B32 #6A1661 #9D208F #D02ABD #DD5ACF

Accessibility & contrast

On white

6.92
#9D208F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D208F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D208F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D208F#FFFFFF#000000##FFFFFF
##9D208F1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F92
Deuteranopia (green-blind)
#4D608C
Tritanopia (blue-blind)
#A42E57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d208f;
/* rgb */ color: rgb(157, 32, 143);
/* oklch */ color: oklch(49.3% 0.197 333.4);
Tailwind
colors: {
  custom: {
    50: '#be6bb0',
    500: '#9d208f',
    950: '#000000',
  },
}
SCSS
$custom: #9d208f;
$custom-light: #be6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d208f",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 306.72,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.19677,
    "h": 333.4
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#9D208F
secondary
#57C163
accent
#E9523F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D208F

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

Preview Lab → · Contrast checker → · Palette generator →

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