#9E1B89#9E1B89

#9E1B89 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.197 H 336.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E1B89
RGBrgb(158, 27, 137)
HSLhsl(310, 71%, 36%)
HSVhsv(310, 83%, 62%)
CMYKcmyk(0%, 82.9%, 13.3%, 38%)
CIE-LABlab(37.59, 61.40, -29.35)
CIE-LCHlch(37.59, 68.05, 334.45°)
OKLaboklab(48.83% 0.1804 -0.0802)
OKLCHoklch(48.83% 0.197 336)
XYZxyz(19.0082, 9.8609, 24.5643)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B89 #1B9E30
analogous
#721B9E #9E1B89 #9E1B48
triadic
#9E1B89 #899E1B #1B899E
tetradic
#9E1B89 #9E721B #1B9E30 #1B489E
square
#9E1B89 #9E721B #1B9E30 #1B489E
split-complementary
#9E1B89 #489E1B #1B9E72
monochromatic
#35092E #6A125C #9E1B89 #D224B6 #E152CA

Accessibility & contrast

On white

7.07
#9E1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B89
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B89#FFFFFF#000000##FFFFFF
##9E1B891.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#4F5F86
Tritanopia (blue-blind)
#A62752
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1b89;
/* rgb */ color: rgb(158, 27, 137);
/* oklch */ color: oklch(48.8% 0.197 336.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9e1b89',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b89;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b89",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 309.618,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48834,
    "c": 0.19742,
    "h": 336
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9E1B89
secondary
#51C463
accent
#EE573A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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