#9E1D96#9E1D96

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

Color values

HEX#9E1D96
RGBrgb(158, 29, 150)
HSLhsl(304, 69%, 37%)
HSVhsv(304, 82%, 62%)
CMYKcmyk(0%, 81.6%, 5.1%, 38%)
CIE-LABlab(38.47, 62.85, -35.93)
CIE-LCHlch(38.47, 72.40, 330.24°)
OKLaboklab(49.69% 0.1793 -0.0992)
OKLCHoklch(49.69% 0.205 331)
XYZxyz(20.0449, 10.3515, 29.7906)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D96 #1D9E25
analogous
#661D9E #9E1D96 #9E1D56
triadic
#9E1D96 #969E1D #1D969E
tetradic
#9E1D96 #9E661D #1D9E25 #1D569E
square
#9E1D96 #9E661D #1D9E25 #1D569E
split-complementary
#9E1D96 #569E1D #1D9E66
monochromatic
#370A34 #6A1465 #9E1D96 #D226C7 #E056D7

Accessibility & contrast

On white

6.84
#9E1D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E1D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D96
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D96#FFFFFF#000000##FFFFFF
##9E1D961.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A5305A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1d96;
/* rgb */ color: rgb(158, 29, 150);
/* oklch */ color: oklch(49.7% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6bb5',
    500: '#9e1d96',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d96;
$custom-light: #bf6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d96",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 303.721,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49686,
    "c": 0.20489,
    "h": 331
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#9E1D96
secondary
#54C35B
accent
#EC473C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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