#9E159A#9E159A

#9E159A is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.213 H 329.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9E159A
RGBrgb(158, 21, 154)
HSLhsl(302, 77%, 35%)
HSVhsv(302, 87%, 62%)
CMYKcmyk(0%, 86.7%, 2.5%, 38%)
CIE-LABlab(38.09, 65.23, -38.95)
CIE-LCHlch(38.09, 75.98, 329.16°)
OKLaboklab(49.5% 0.1842 -0.1079)
OKLCHoklch(49.5% 0.214 329.6)
XYZxyz(20.2013, 10.1402, 31.4589)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E159A #159E19
analogous
#5E159E #9E159A #9E1555
triadic
#9E159A #9A9E15 #159A9E
tetradic
#9E159A #9E5E15 #159E19 #15559E
square
#9E159A #9E5E15 #159E19 #15559E
split-complementary
#9E159A #559E15 #159E5E
monochromatic
#320731 #680E65 #9E159A #D41CCF #E747E2

Accessibility & contrast

On white

6.94
#9E159A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E159A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E159A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E159A#FFFFFF#000000##FFFFFF
##9E159A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#A42E5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e159a;
/* rgb */ color: rgb(158, 21, 154);
/* oklch */ color: oklch(49.5% 0.213 329.6);
Tailwind
colors: {
  custom: {
    50: '#bf69b8',
    500: '#9e159a',
    950: '#000000',
  },
}
SCSS
$custom: #9e159a;
$custom-light: #bf69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e159a",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 154
  },
  "hsl": {
    "h": 301.752,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.2135,
    "h": 329.6
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#9E159A
secondary
#47C74B
accent
#F33A35
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E159A

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

Preview Lab → · Contrast checker → · Palette generator →

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