#9E1B96#9E1B96

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

Color values

HEX#9E1B96
RGBrgb(158, 27, 150)
HSLhsl(304, 71%, 36%)
HSVhsv(304, 83%, 62%)
CMYKcmyk(0%, 82.9%, 5.1%, 38%)
CIE-LABlab(38.30, 63.33, -36.20)
CIE-LCHlch(38.30, 72.95, 330.25°)
OKLaboklab(49.57% 0.1807 -0.0999)
OKLCHoklch(49.57% 0.206 331)
XYZxyz(19.9975, 10.2567, 29.7748)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B96 #1B9E23
analogous
#651B9E #9E1B96 #9E1B55
triadic
#9E1B96 #969E1B #1B969E
tetradic
#9E1B96 #9E651B #1B9E23 #1B559E
square
#9E1B96 #9E651B #1B9E23 #1B559E
split-complementary
#9E1B96 #559E1B #1B9E65
monochromatic
#350933 #6A1264 #9E1B96 #D224C8 #E152D9

Accessibility & contrast

On white

6.88
#9E1B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E1B96
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B96#FFFFFF#000000##FFFFFF
##9E1B961.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A52F5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1b96;
/* rgb */ color: rgb(158, 27, 150);
/* oklch */ color: oklch(49.6% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9e1b96',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b96;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b96",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 303.664,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.20647,
    "h": 331
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#9E1B96
secondary
#51C458
accent
#EE453A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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