#9E159C#9E159C

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

Color values

HEX#9E159C
RGBrgb(158, 21, 156)
HSLhsl(301, 77%, 35%)
HSVhsv(301, 87%, 62%)
CMYKcmyk(0%, 86.7%, 1.3%, 38%)
CIE-LABlab(38.21, 65.54, -39.98)
CIE-LCHlch(38.21, 76.77, 328.62°)
OKLaboklab(49.62% 0.1841 -0.1109)
OKLCHoklch(49.62% 0.215 328.9)
XYZxyz(20.3693, 10.2074, 32.3434)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E159C #159E17
analogous
#5C159E #9E159C #9E1557
triadic
#9E159C #9C9E15 #159C9E
tetradic
#9E159C #9E5C15 #159E17 #15579E
square
#9E159C #9E5C15 #159E17 #15579E
split-complementary
#9E159C #579E15 #159E5C
monochromatic
#320731 #680E67 #9E159C #D41CD1 #E747E4

Accessibility & contrast

On white

6.91
#9E159C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E159C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E159C
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E159C#FFFFFF#000000##FFFFFF
##9E159C1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#A4305C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e159c;
/* rgb */ color: rgb(158, 21, 156);
/* oklch */ color: oklch(49.6% 0.215 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf69ba',
    500: '#9e159c',
    950: '#000000',
  },
}
SCSS
$custom: #9e159c;
$custom-light: #bf69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e159c",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 156
  },
  "hsl": {
    "h": 300.876,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49618,
    "c": 0.21493,
    "h": 328.9
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#9E159C
secondary
#47C749
accent
#F33735
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E159C

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

Preview Lab → · Contrast checker → · Palette generator →

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