#9E179C#9E179C

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

Color values

HEX#9E179C
RGBrgb(158, 23, 156)
HSLhsl(301, 75%, 35%)
HSVhsv(301, 85%, 62%)
CMYKcmyk(0%, 85.4%, 1.3%, 38%)
CIE-LABlab(38.35, 65.15, -39.76)
CIE-LCHlch(38.35, 76.32, 328.60°)
OKLaboklab(49.71% 0.183 -0.1103)
OKLCHoklch(49.71% 0.214 328.9)
XYZxyz(20.4075, 10.2838, 32.3562)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E179C #179E19
analogous
#5C179E #9E179C #9E1758
triadic
#9E179C #9C9E17 #179C9E
tetradic
#9E179C #9E5C17 #179E19 #17589E
square
#9E179C #9E5C17 #179E19 #17589E
split-complementary
#9E179C #589E17 #179E5C
monochromatic
#330733 #690F67 #9E179C #D31FD1 #E54BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E179C#FFFFFF#000000##FFFFFF
##9E179C1.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)
#004F9F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#A4315D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e179c;
/* rgb */ color: rgb(158, 23, 156);
/* oklch */ color: oklch(49.7% 0.214 328.9);
Tailwind
colors: {
  custom: {
    50: '#bf69ba',
    500: '#9e179c',
    950: '#000000',
  },
}
SCSS
$custom: #9e179c;
$custom-light: #bf69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9e179c",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 156
  },
  "hsl": {
    "h": 300.889,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.21364,
    "h": 328.9
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#9E179C
secondary
#4AC64C
accent
#F13937
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E179C

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

Preview Lab → · Contrast checker → · Palette generator →

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