#9E1E91#9E1E91

#9E1E91 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.200 H 332.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E1E91
RGBrgb(158, 30, 145)
HSLhsl(306, 68%, 37%)
HSVhsv(306, 81%, 62%)
CMYKcmyk(0%, 81%, 8.2%, 38%)
CIE-LABlab(38.28, 61.83, -33.18)
CIE-LCHlch(38.28, 70.17, 331.78°)
OKLaboklab(49.46% 0.1785 -0.0912)
OKLCHoklch(49.46% 0.2 332.9)
XYZxyz(19.6758, 10.2437, 27.7235)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E91 #1E9E2B
analogous
#6B1E9E #9E1E91 #9E1E51
triadic
#9E1E91 #919E1E #1E919E
tetradic
#9E1E91 #9E6B1E #1E9E2B #1E519E
square
#9E1E91 #9E6B1E #1E9E2B #1E519E
split-complementary
#9E1E91 #519E1E #1E9E6B
monochromatic
#370A33 #6B1462 #9E1E91 #D128C0 #DF57D1

Accessibility & contrast

On white

6.89
#9E1E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E1E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E91
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E91#FFFFFF#000000##FFFFFF
##9E1E911.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F94
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#A52E58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1e91;
/* rgb */ color: rgb(158, 30, 145);
/* oklch */ color: oklch(49.5% 0.200 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bb1',
    500: '#9e1e91',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e91;
$custom-light: #bf6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e91",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 306.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.20047,
    "h": 332.9
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#9E1E91
secondary
#55C360
accent
#EB4F3D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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