#9E1B99#9E1B99

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

Color values

HEX#9E1B99
RGBrgb(158, 27, 153)
HSLhsl(302, 71%, 36%)
HSVhsv(302, 83%, 62%)
CMYKcmyk(0%, 82.9%, 3.2%, 38%)
CIE-LABlab(38.47, 63.80, -37.75)
CIE-LCHlch(38.47, 74.13, 329.39°)
OKLaboklab(49.75% 0.1806 -0.1044)
OKLCHoklch(49.75% 0.209 330)
XYZxyz(20.2422, 10.3545, 31.0633)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B99 #1B9E20
analogous
#621B9E #9E1B99 #9E1B58
triadic
#9E1B99 #999E1B #1B999E
tetradic
#9E1B99 #9E621B #1B9E20 #1B589E
square
#9E1B99 #9E621B #1B9E20 #1B589E
split-complementary
#9E1B99 #589E1B #1B9E62
monochromatic
#350934 #6A1266 #9E1B99 #D224CC #E152DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1B99#FFFFFF#000000##FFFFFF
##9E1B991.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)
#00509C
Deuteranopia (green-blind)
#476096
Tritanopia (blue-blind)
#A4315C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e1b99;
/* rgb */ color: rgb(158, 27, 153);
/* oklch */ color: oklch(49.7% 0.209 330.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ab7',
    500: '#9e1b99',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b99;
$custom-light: #bf6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b99",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 302.29,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.20863,
    "h": 330
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#9E1B99
secondary
#51C455
accent
#EE413A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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