#9E209D#9E209D

#9E209D is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.207 H 328.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E209D
RGBrgb(158, 32, 157)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0%, 79.7%, 0.6%, 38%)
CIE-LABlab(39.14, 63.18, -39.11)
CIE-LCHlch(39.14, 74.31, 328.24°)
OKLaboklab(50.29% 0.1769 -0.1084)
OKLCHoklch(50.29% 0.207 328.5)
XYZxyz(20.7027, 10.7380, 32.8740)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E209D #209E21
analogous
#60209E #9E209D #9E205E
triadic
#9E209D #9D9E20 #209D9E
tetradic
#9E209D #9E6020 #209E21 #205E9E
square
#9E209D #9E6020 #209E21 #205E9E
split-complementary
#9E209D #5E9E20 #209E60
monochromatic
#380B38 #6B166A #9E209D #D12AD0 #DE5BDD

Accessibility & contrast

On white

6.67
#9E209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E209D
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E209D#FFFFFF#000000##FFFFFF
##9E209D1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#A3365F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e209d;
/* rgb */ color: rgb(158, 32, 157);
/* oklch */ color: oklch(50.3% 0.207 328.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cba',
    500: '#9e209d',
    950: '#000000',
  },
}
SCSS
$custom: #9e209d;
$custom-light: #bf6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e209d",
  "rgb": {
    "r": 158,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 300.476,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.20749,
    "h": 328.5
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#9E209D
secondary
#58C259
accent
#E9403F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E209D

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

Preview Lab → · Contrast checker → · Palette generator →

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