#9E209E#9E209E

#9E209E is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.208 H 328.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9E209E
RGBrgb(158, 32, 158)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0%, 79.7%, 0%, 38%)
CIE-LABlab(39.19, 63.35, -39.62)
CIE-LCHlch(39.19, 74.72, 327.98°)
OKLaboklab(50.35% 0.1769 -0.1099)
OKLCHoklch(50.35% 0.208 328.1)
XYZxyz(20.7884, 10.7723, 33.3255)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E209E #209E20
analogous
#5F209E #9E209E #9E205F
triadic
#9E209E #9E9E20 #209E9E
tetradic
#9E209E #9E5F20 #209E20 #205F9E
square
#9E209E #9E5F20 #209E20 #205F9E
split-complementary
#9E209E #5F9E20 #209E5F
monochromatic
#380B38 #6B166B #9E209E #D12AD1 #DE5BDE

Accessibility & contrast

On white

6.66
#9E209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E209E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E209E#FFFFFF#000000##FFFFFF
##9E209E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#A3365F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e209e;
/* rgb */ color: rgb(158, 32, 158);
/* oklch */ color: oklch(50.4% 0.208 328.1);
Tailwind
colors: {
  custom: {
    50: '#bf6cbb',
    500: '#9e209e',
    950: '#000000',
  },
}
SCSS
$custom: #9e209e;
$custom-light: #bf6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e209e",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50353,
    "c": 0.20824,
    "h": 328.1
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#9E209E
secondary
#58C258
accent
#E93F3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E209E

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

Preview Lab → · Contrast checker → · Palette generator →

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