#9E159D#9E159D

#9E159D is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.216 H 328.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E159D
RGBrgb(158, 21, 157)
HSLhsl(300, 77%, 35%)
HSVhsv(300, 87%, 62%)
CMYKcmyk(0%, 86.7%, 0.6%, 38%)
CIE-LABlab(38.27, 65.70, -40.49)
CIE-LCHlch(38.27, 77.17, 328.36°)
OKLaboklab(49.68% 0.184 -0.1124)
OKLCHoklch(49.68% 0.216 328.6)
XYZxyz(20.4543, 10.2414, 32.7912)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E159D #159E16
analogous
#5A159E #9E159D #9E1558
triadic
#9E159D #9D9E15 #159D9E
tetradic
#9E159D #9E5A15 #159E16 #15589E
square
#9E159D #9E5A15 #159E16 #15589E
split-complementary
#9E159D #589E15 #159E5A
monochromatic
#320732 #680E67 #9E159D #D41CD3 #E747E5

Accessibility & contrast

On white

6.89
#9E159D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E159D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E159D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E159D#FFFFFF#000000##FFFFFF
##9E159D1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#A3305D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e159d;
/* rgb */ color: rgb(158, 21, 157);
/* oklch */ color: oklch(49.7% 0.216 328.6);
Tailwind
colors: {
  custom: {
    50: '#bf69ba',
    500: '#9e159d',
    950: '#000000',
  },
}
SCSS
$custom: #9e159d;
$custom-light: #bf69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e159d",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 157
  },
  "hsl": {
    "h": 300.438,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.21564,
    "h": 328.6
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#9E159D
secondary
#47C748
accent
#F33635
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E159D

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

Preview Lab → · Contrast checker → · Palette generator →

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