#9E179D#9E179D

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

Color values

HEX#9E179D
RGBrgb(158, 23, 157)
HSLhsl(300, 75%, 35%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0%, 85.4%, 0.6%, 38%)
CIE-LABlab(38.41, 65.30, -40.27)
CIE-LCHlch(38.41, 76.72, 328.34°)
OKLaboklab(49.78% 0.1829 -0.1118)
OKLCHoklch(49.78% 0.214 328.6)
XYZxyz(20.4926, 10.3178, 32.8040)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E179D #179E18
analogous
#5B179E #9E179D #9E175A
triadic
#9E179D #9D9E17 #179D9E
tetradic
#9E179D #9E5B17 #179E18 #175A9E
square
#9E179D #9E5B17 #179E18 #175A9E
split-complementary
#9E179D #5A9E17 #179E5B
monochromatic
#330733 #690F68 #9E179D #D31FD2 #E54BE4

Accessibility & contrast

On white

6.86
#9E179D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E179D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E179D#FFFFFF#000000##FFFFFF
##9E179D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e179d;
/* rgb */ color: rgb(158, 23, 157);
/* oklch */ color: oklch(49.8% 0.214 328.6);
Tailwind
colors: {
  custom: {
    50: '#bf69ba',
    500: '#9e179d',
    950: '#000000',
  },
}
SCSS
$custom: #9e179d;
$custom-light: #bf69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e179d",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 157
  },
  "hsl": {
    "h": 300.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.21436,
    "h": 328.6
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#9E179D
secondary
#4AC64B
accent
#F13837
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E179D

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

Preview Lab → · Contrast checker → · Palette generator →

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