#9E159B#9E159B

#9E159B is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.214 H 329.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9E159B
RGBrgb(158, 21, 155)
HSLhsl(301, 77%, 35%)
HSVhsv(301, 87%, 62%)
CMYKcmyk(0%, 86.7%, 1.9%, 38%)
CIE-LABlab(38.15, 65.39, -39.47)
CIE-LCHlch(38.15, 76.37, 328.89°)
OKLaboklab(49.56% 0.1842 -0.1094)
OKLCHoklch(49.56% 0.214 329.3)
XYZxyz(20.2850, 10.1736, 31.8993)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E159B #159E18
analogous
#5D159E #9E159B #9E1556
triadic
#9E159B #9B9E15 #159B9E
tetradic
#9E159B #9E5D15 #159E18 #15569E
square
#9E159B #9E5D15 #159E18 #15569E
split-complementary
#9E159B #569E15 #159E5D
monochromatic
#320731 #680E66 #9E159B #D41CD0 #E747E3

Accessibility & contrast

On white

6.92
#9E159B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E159B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E159B#FFFFFF#000000##FFFFFF
##9E159B1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#A42F5C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e159b;
/* rgb */ color: rgb(158, 21, 155);
/* oklch */ color: oklch(49.6% 0.214 329.3);
Tailwind
colors: {
  custom: {
    50: '#bf69b9',
    500: '#9e159b',
    950: '#000000',
  },
}
SCSS
$custom: #9e159b;
$custom-light: #bf69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e159b",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 155
  },
  "hsl": {
    "h": 301.314,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.21421,
    "h": 329.3
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#9E159B
secondary
#47C74A
accent
#F33935
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E159B

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

Preview Lab → · Contrast checker → · Palette generator →

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