#9E1B97#9E1B97

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

Color values

HEX#9E1B97
RGBrgb(158, 27, 151)
HSLhsl(303, 71%, 36%)
HSVhsv(303, 83%, 62%)
CMYKcmyk(0%, 82.9%, 4.4%, 38%)
CIE-LABlab(38.36, 63.49, -36.71)
CIE-LCHlch(38.36, 73.34, 329.96°)
OKLaboklab(49.63% 0.1807 -0.1014)
OKLCHoklch(49.63% 0.207 330.7)
XYZxyz(20.0784, 10.2890, 30.2006)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B97 #1B9E22
analogous
#641B9E #9E1B97 #9E1B56
triadic
#9E1B97 #979E1B #1B979E
tetradic
#9E1B97 #9E641B #1B9E22 #1B569E
square
#9E1B97 #9E641B #1B9E22 #1B569E
split-complementary
#9E1B97 #569E1B #1B9E64
monochromatic
#350933 #6A1265 #9E1B97 #D224C9 #E152DA

Accessibility & contrast

On white

6.87
#9E1B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E1B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1B97
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B97#FFFFFF#000000##FFFFFF
##9E1B971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#A4305A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1b97;
/* rgb */ color: rgb(158, 27, 151);
/* oklch */ color: oklch(49.6% 0.207 330.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ab6',
    500: '#9e1b97',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b97;
$custom-light: #bf6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b97",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 303.206,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49626,
    "c": 0.20719,
    "h": 330.7
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#9E1B97
secondary
#51C457
accent
#EE443A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9E1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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