#9E169D#9E169D

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

Color values

HEX#9E169D
RGBrgb(158, 22, 157)
HSLhsl(300, 76%, 35%)
HSVhsv(300, 86%, 62%)
CMYKcmyk(0%, 86.1%, 0.6%, 38%)
CIE-LABlab(38.34, 65.50, -40.38)
CIE-LCHlch(38.34, 76.95, 328.35°)
OKLaboklab(49.73% 0.1835 -0.1121)
OKLCHoklch(49.73% 0.215 328.6)
XYZxyz(20.4731, 10.2789, 32.7975)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E169D #169E17
analogous
#5B169E #9E169D #9E1659
triadic
#9E169D #9D9E16 #169D9E
tetradic
#9E169D #9E5B16 #169E17 #16599E
square
#9E169D #9E5B16 #169E17 #16599E
split-complementary
#9E169D #599E16 #169E5B
monochromatic
#330732 #680F68 #9E169D #D41DD2 #E649E4

Accessibility & contrast

On white

6.87
#9E169D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E169D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E169D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E169D#FFFFFF#000000##FFFFFF
##9E169D1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e169d;
/* rgb */ color: rgb(158, 22, 157);
/* oklch */ color: oklch(49.7% 0.215 328.6);
Tailwind
colors: {
  custom: {
    50: '#bf69ba',
    500: '#9e169d',
    950: '#000000',
  },
}
SCSS
$custom: #9e169d;
$custom-light: #bf69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e169d",
  "rgb": {
    "r": 158,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 300.441,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.21501,
    "h": 328.6
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#9E169D
secondary
#49C74A
accent
#F23736
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E169D

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

Preview Lab → · Contrast checker → · Palette generator →

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