#9E208B#9E208B

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

Color values

HEX#9E208B
RGBrgb(158, 32, 139)
HSLhsl(309, 66%, 37%)
HSVhsv(309, 80%, 62%)
CMYKcmyk(0%, 79.7%, 12%, 38%)
CIE-LABlab(38.14, 60.40, -29.72)
CIE-LCHlch(38.14, 67.31, 333.80°)
OKLaboklab(49.26% 0.1767 -0.0813)
OKLCHoklch(49.26% 0.194 335.3)
XYZxyz(19.2775, 10.1680, 25.3684)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E208B #209E33
analogous
#72209E #9E208B #9E204C
triadic
#9E208B #8B9E20 #208B9E
tetradic
#9E208B #9E7220 #209E33 #204C9E
square
#9E208B #9E7220 #209E33 #204C9E
split-complementary
#9E208B #4C9E20 #209E72
monochromatic
#380B31 #6B165E #9E208B #D12AB8 #DE5BCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E208B#FFFFFF#000000##FFFFFF
##9E208B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#A62C55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e208b;
/* rgb */ color: rgb(158, 32, 139);
/* oklch */ color: oklch(49.3% 0.194 335.3);
Tailwind
colors: {
  custom: {
    50: '#bf6bad',
    500: '#9e208b',
    950: '#000000',
  },
}
SCSS
$custom: #9e208b;
$custom-light: #bf6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e208b",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 309.048,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.19448,
    "h": 335.3
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#9E208B
secondary
#58C268
accent
#E9583F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E208B

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

Preview Lab → · Contrast checker → · Palette generator →

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