#9E2199#9E2199

#9E2199 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.204 H 329.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9E2199
RGBrgb(158, 33, 153)
HSLhsl(302, 65%, 37%)
HSVhsv(302, 79%, 62%)
CMYKcmyk(0%, 79.1%, 3.2%, 38%)
CIE-LABlab(39.00, 62.27, -36.91)
CIE-LCHlch(39.00, 72.39, 329.35°)
OKLaboklab(50.12% 0.1762 -0.102)
OKLCHoklch(50.12% 0.204 329.9)
XYZxyz(20.3941, 10.6583, 31.1140)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2199 #219E26
analogous
#65219E #9E2199 #9E215B
triadic
#9E2199 #999E21 #21999E
tetradic
#9E2199 #9E6521 #219E26 #215B9E
square
#9E2199 #9E6521 #219E26 #215B9E
split-complementary
#9E2199 #5B9E21 #219E65
monochromatic
#390C37 #6B1668 #9E2199 #D12CCA #DD5CD8

Accessibility & contrast

On white

6.71
#9E2199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2199
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2199#FFFFFF#000000##FFFFFF
##9E21991.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09519C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A4345D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2199;
/* rgb */ color: rgb(158, 33, 153);
/* oklch */ color: oklch(50.1% 0.204 329.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cb7',
    500: '#9e2199',
    950: '#000000',
  },
}
SCSS
$custom: #9e2199;
$custom-light: #bf6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2199",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 302.4,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.20363,
    "h": 329.9
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#9E2199
secondary
#59C15E
accent
#E8463F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2199

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

Preview Lab → · Contrast checker → · Palette generator →

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