#9E2E91#9E2E91

#9E2E91 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.184 H 333.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9E2E91
RGBrgb(158, 46, 145)
HSLhsl(307, 55%, 40%)
HSVhsv(307, 71%, 62%)
CMYKcmyk(0%, 70.9%, 8.2%, 38%)
CIE-LABlab(40.03, 56.82, -30.42)
CIE-LCHlch(40.03, 64.45, 331.84°)
OKLaboklab(50.72% 0.1638 -0.0834)
OKLCHoklch(50.72% 0.184 333)
XYZxyz(20.1885, 11.2691, 27.8944)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E91 #2E9E3B
analogous
#732E9E #9E2E91 #9E2E59
triadic
#9E2E91 #919E2E #2E919E
tetradic
#9E2E91 #9E732E #2E9E3B #2E599E
square
#9E2E91 #9E732E #2E9E3B #2E599E
split-complementary
#9E2E91 #599E2E #2E9E73
monochromatic
#3F123A #6F2066 #9E2E91 #C841B8 #D671CA

Accessibility & contrast

On white

6.45
#9E2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9E2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E91
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E91#FFFFFF#000000##FFFFFF
##9E2E911.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A5395C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e2e91;
/* rgb */ color: rgb(158, 46, 145);
/* oklch */ color: oklch(50.7% 0.184 333.0);
Tailwind
colors: {
  custom: {
    50: '#be71b1',
    500: '#9e2e91',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e91;
$custom-light: #be71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e91",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 306.964,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.18385,
    "h": 333
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#9E2E91
secondary
#6BBD74
accent
#DE5B4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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