#9E2391#9E2391

#9E2391 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.196 H 332.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9E2391
RGBrgb(158, 35, 145)
HSLhsl(306, 64%, 38%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 77.8%, 8.2%, 38%)
CIE-LABlab(38.76, 60.45, -32.43)
CIE-LCHlch(38.76, 68.60, 331.79°)
OKLaboklab(49.8% 0.1745 -0.0891)
OKLCHoklch(49.8% 0.196 332.9)
XYZxyz(19.8125, 10.5172, 27.7691)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2391 #239E30
analogous
#6D239E #9E2391 #9E2354
triadic
#9E2391 #919E23 #23919E
tetradic
#9E2391 #9E6D23 #239E30 #23549E
square
#9E2391 #9E6D23 #239E30 #23549E
split-complementary
#9E2391 #549E23 #239E6D
monochromatic
#3A0D35 #6C1863 #9E2391 #D02EBF #DC60CF

Accessibility & contrast

On white

6.77
#9E2391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E2391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2391
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2391#FFFFFF#000000##FFFFFF
##9E23911.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5094
Deuteranopia (green-blind)
#4E618E
Tritanopia (blue-blind)
#A53159
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e2391;
/* rgb */ color: rgb(158, 35, 145);
/* oklch */ color: oklch(49.8% 0.196 332.9);
Tailwind
colors: {
  custom: {
    50: '#be6db1',
    500: '#9e2391',
    950: '#000000',
  },
}
SCSS
$custom: #9e2391;
$custom-light: #be6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2391",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 306.341,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49804,
    "c": 0.1959,
    "h": 332.9
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#9E2391
secondary
#5CC167
accent
#E75341
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2391

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

Preview Lab → · Contrast checker → · Palette generator →

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