#9E1B95#9E1B95

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

Color values

HEX#9E1B95
RGBrgb(158, 27, 149)
HSLhsl(304, 71%, 36%)
HSVhsv(304, 83%, 62%)
CMYKcmyk(0%, 82.9%, 5.7%, 38%)
CIE-LABlab(38.24, 63.18, -35.68)
CIE-LCHlch(38.24, 72.56, 330.55°)
OKLaboklab(49.51% 0.1807 -0.0984)
OKLCHoklch(49.51% 0.206 331.4)
XYZxyz(19.9173, 10.2246, 29.3525)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B95 #1B9E24
analogous
#661B9E #9E1B95 #9E1B54
triadic
#9E1B95 #959E1B #1B959E
tetradic
#9E1B95 #9E661B #1B9E24 #1B549E
square
#9E1B95 #9E661B #1B9E24 #1B549E
split-complementary
#9E1B95 #549E1B #1B9E66
monochromatic
#350932 #6A1264 #9E1B95 #D224C6 #E152D8

Accessibility & contrast

On white

6.90
#9E1B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B95
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B95#FFFFFF#000000##FFFFFF
##9E1B951.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A52E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1b95;
/* rgb */ color: rgb(158, 27, 149);
/* oklch */ color: oklch(49.5% 0.206 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ab4',
    500: '#9e1b95',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b95;
$custom-light: #bf6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b95",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 304.122,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.20576,
    "h": 331.4
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#9E1B95
secondary
#51C459
accent
#EE473A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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