#9E208D#9E208D

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

Color values

HEX#9E208D
RGBrgb(158, 32, 141)
HSLhsl(308, 66%, 37%)
HSVhsv(308, 80%, 62%)
CMYKcmyk(0%, 79.7%, 10.8%, 38%)
CIE-LABlab(38.25, 60.70, -30.78)
CIE-LCHlch(38.25, 68.05, 333.11°)
OKLaboklab(49.37% 0.1768 -0.0843)
OKLCHoklch(49.37% 0.196 334.5)
XYZxyz(19.4250, 10.2270, 26.1451)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E208D #209E31
analogous
#70209E #9E208D #9E204E
triadic
#9E208D #8D9E20 #208D9E
tetradic
#9E208D #9E7020 #209E31 #204E9E
square
#9E208D #9E7020 #209E31 #204E9E
split-complementary
#9E208D #4E9E20 #209E70
monochromatic
#380B32 #6B1660 #9E208D #D12ABA #DE5BCC

Accessibility & contrast

On white

6.90
#9E208D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E208D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E208D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E208D#FFFFFF#000000##FFFFFF
##9E208D1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#4F608A
Tritanopia (blue-blind)
#A62D56
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e208d;
/* rgb */ color: rgb(158, 32, 141);
/* oklch */ color: oklch(49.4% 0.196 334.5);
Tailwind
colors: {
  custom: {
    50: '#bf6baf',
    500: '#9e208d',
    950: '#000000',
  },
}
SCSS
$custom: #9e208d;
$custom-light: #bf6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e208d",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 308.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.19587,
    "h": 334.5
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#9E208D
secondary
#58C266
accent
#E9563F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E208D

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

Preview Lab → · Contrast checker → · Palette generator →

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