#9E1E96#9E1E96

#9E1E96 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.204 H 331.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9E1E96
RGBrgb(158, 30, 150)
HSLhsl(304, 68%, 37%)
HSVhsv(304, 81%, 62%)
CMYKcmyk(0%, 81%, 5.1%, 38%)
CIE-LABlab(38.55, 62.60, -35.79)
CIE-LCHlch(38.55, 72.11, 330.24°)
OKLaboklab(49.75% 0.1785 -0.0988)
OKLCHoklch(49.75% 0.204 331)
XYZxyz(20.0698, 10.4013, 29.7989)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E96 #1E9E26
analogous
#661E9E #9E1E96 #9E1E56
triadic
#9E1E96 #969E1E #1E969E
tetradic
#9E1E96 #9E661E #1E9E26 #1E569E
square
#9E1E96 #9E661E #1E9E26 #1E569E
split-complementary
#9E1E96 #569E1E #1E9E66
monochromatic
#370A34 #6B1465 #9E1E96 #D128C7 #DF57D7

Accessibility & contrast

On white

6.82
#9E1E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E1E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1E96
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E96#FFFFFF#000000##FFFFFF
##9E1E961.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5099
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A5315A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1e96;
/* rgb */ color: rgb(158, 30, 150);
/* oklch */ color: oklch(49.7% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb5',
    500: '#9e1e96',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e96;
$custom-light: #bf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e96",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 303.75,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49748,
    "c": 0.20405,
    "h": 331
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#9E1E96
secondary
#55C35C
accent
#EB483D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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