#9E16A1#9E16A1

#9E16A1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.0% C 0.218 H 327.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E16A1
RGBrgb(158, 22, 161)
HSLhsl(299, 76%, 36%)
HSVhsv(299, 86%, 63%)
CMYKcmyk(1.9%, 86.3%, 0%, 36.9%)
CIE-LABlab(38.58, 66.14, -42.41)
CIE-LCHlch(38.58, 78.57, 327.33°)
OKLaboklab(49.98% 0.1832 -0.118)
OKLCHoklch(49.98% 0.218 327.2)
XYZxyz(20.8202, 10.4177, 34.6255)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E16A1 #19A116
analogous
#5816A1 #9E16A1 #A1165E
triadic
#9E16A1 #A19E16 #16A19E
tetradic
#9E16A1 #A15816 #19A116 #165EA1
square
#9E16A1 #A15816 #19A116 #165EA1
split-complementary
#9E16A1 #5EA116 #16A158
monochromatic
#340735 #690F6B #9E16A1 #D31DD7 #E34BE6

Accessibility & contrast

On white

6.81
#9E16A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9E16A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E16A1
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E16A1#FFFFFF#000000##FFFFFF
##9E16A11.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#40609E
Tritanopia (blue-blind)
#A3335F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e16a1;
/* rgb */ color: rgb(158, 22, 161);
/* oklch */ color: oklch(50.0% 0.218 327.2);
Tailwind
colors: {
  custom: {
    50: '#bf69bd',
    500: '#9e16a1',
    950: '#000000',
  },
}
SCSS
$custom: #9e16a1;
$custom-light: #bf69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e16a1",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 298.705,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.2179,
    "h": 327.2
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#9E16A1
secondary
#4EC84B
accent
#F33539
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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