#9E208A#9E208A

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

Color values

HEX#9E208A
RGBrgb(158, 32, 138)
HSLhsl(310, 66%, 37%)
HSVhsv(310, 80%, 62%)
CMYKcmyk(0%, 79.7%, 12.7%, 38%)
CIE-LABlab(38.09, 60.25, -29.18)
CIE-LCHlch(38.09, 66.95, 334.16°)
OKLaboklab(49.21% 0.1766 -0.0797)
OKLCHoklch(49.21% 0.194 335.7)
XYZxyz(19.2048, 10.1389, 24.9854)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E208A #209E34
analogous
#73209E #9E208A #9E204B
triadic
#9E208A #8A9E20 #208A9E
tetradic
#9E208A #9E7320 #209E34 #204B9E
square
#9E208A #9E7320 #209E34 #204B9E
split-complementary
#9E208A #4B9E20 #209E73
monochromatic
#380B31 #6B165E #9E208A #D12AB6 #DE5BC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E208A#FFFFFF#000000##FFFFFF
##9E208A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#A62B54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e208a;
/* rgb */ color: rgb(158, 32, 138);
/* oklch */ color: oklch(49.2% 0.194 335.7);
Tailwind
colors: {
  custom: {
    50: '#bf6bac',
    500: '#9e208a',
    950: '#000000',
  },
}
SCSS
$custom: #9e208a;
$custom-light: #bf6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e208a",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 309.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.19379,
    "h": 335.7
  },
  "luminance": 0.10137
}

Semantic roles & 50–950 ramp

primary
#9E208A
secondary
#58C269
accent
#E95A3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E208A

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

Preview Lab → · Contrast checker → · Palette generator →

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