#9E179E#9E179E

#9E179E is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.215 H 328.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9E179E
RGBrgb(158, 23, 158)
HSLhsl(300, 75%, 35%)
HSVhsv(300, 85%, 62%)
CMYKcmyk(0%, 85.4%, 0%, 38%)
CIE-LABlab(38.47, 65.46, -40.78)
CIE-LCHlch(38.47, 77.13, 328.08°)
OKLaboklab(49.84% 0.1829 -0.1133)
OKLCHoklch(49.84% 0.215 328.2)
XYZxyz(20.5783, 10.3521, 33.2554)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E179E #179E17
analogous
#5A179E #9E179E #9E175A
triadic
#9E179E #9E9E17 #179E9E
tetradic
#9E179E #9E5A17 #179E17 #175A9E
square
#9E179E #9E5A17 #179E17 #175A9E
split-complementary
#9E179E #5A9E17 #179E5A
monochromatic
#330733 #690F69 #9E179E #D31FD3 #E54BE5

Accessibility & contrast

On white

6.84
#9E179E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9E179E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E179E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E179E#FFFFFF#000000##FFFFFF
##9E179E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#42609B
Tritanopia (blue-blind)
#A3325E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e179e;
/* rgb */ color: rgb(158, 23, 158);
/* oklch */ color: oklch(49.8% 0.215 328.2);
Tailwind
colors: {
  custom: {
    50: '#bf69bb',
    500: '#9e179e',
    950: '#000000',
  },
}
SCSS
$custom: #9e179e;
$custom-light: #bf69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e179e",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.21509,
    "h": 328.2
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#9E179E
secondary
#4AC64A
accent
#F13737
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9E179E

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

Preview Lab → · Contrast checker → · Palette generator →

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