#9E2E99#9E2E99

#9E2E99 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.190 H 329.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9E2E99
RGBrgb(158, 46, 153)
HSLhsl(303, 55%, 40%)
HSVhsv(303, 71%, 62%)
CMYKcmyk(0%, 70.9%, 3.2%, 38%)
CIE-LABlab(40.45, 58.12, -34.61)
CIE-LCHlch(40.45, 67.64, 329.23°)
OKLaboklab(51.16% 0.1643 -0.0955)
OKLCHoklch(51.16% 0.19 329.8)
XYZxyz(20.8272, 11.5246, 31.2583)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E99 #2E9E33
analogous
#6B2E9E #9E2E99 #9E2E61
triadic
#9E2E99 #999E2E #2E999E
tetradic
#9E2E99 #9E6B2E #2E9E33 #2E619E
square
#9E2E99 #9E6B2E #2E9E33 #2E619E
split-complementary
#9E2E99 #619E2E #2E9E6B
monochromatic
#3F123D #6F206B #9E2E99 #C841C2 #D671D1

Accessibility & contrast

On white

6.35
#9E2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9E2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E99
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E99#FFFFFF#000000##FFFFFF
##9E2E991.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#A43C60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e2e99;
/* rgb */ color: rgb(158, 46, 153);
/* oklch */ color: oklch(51.2% 0.190 329.8);
Tailwind
colors: {
  custom: {
    50: '#be71b7',
    500: '#9e2e99',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e99;
$custom-light: #be71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e99",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 302.679,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.19004,
    "h": 329.8
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#9E2E99
secondary
#6BBD6E
accent
#DE504A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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