#9E1B91#9E1B91

#9E1B91 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.203 H 332.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E1B91
RGBrgb(158, 27, 145)
HSLhsl(306, 71%, 36%)
HSVhsv(306, 83%, 62%)
CMYKcmyk(0%, 82.9%, 8.2%, 38%)
CIE-LABlab(38.02, 62.57, -33.59)
CIE-LCHlch(38.02, 71.02, 331.77°)
OKLaboklab(49.28% 0.1807 -0.0924)
OKLCHoklch(49.28% 0.203 332.9)
XYZxyz(19.6035, 10.0990, 27.6994)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B91 #1B9E28
analogous
#6A1B9E #9E1B91 #9E1B50
triadic
#9E1B91 #919E1B #1B919E
tetradic
#9E1B91 #9E6A1B #1B9E28 #1B509E
square
#9E1B91 #9E6A1B #1B9E28 #1B509E
split-complementary
#9E1B91 #509E1B #1B9E6A
monochromatic
#350931 #6A1261 #9E1B91 #D224C1 #E152D3

Accessibility & contrast

On white

6.96
#9E1B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E1B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B91
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B91#FFFFFF#000000##FFFFFF
##9E1B911.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#A52C57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1b91;
/* rgb */ color: rgb(158, 27, 145);
/* oklch */ color: oklch(49.3% 0.203 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ab1',
    500: '#9e1b91',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b91;
$custom-light: #bf6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b91",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 305.954,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.20294,
    "h": 332.9
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#9E1B91
secondary
#51C45C
accent
#EE4C3A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1B91

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

Preview Lab → · Contrast checker → · Palette generator →

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