#9E179A#9E179A

#9E179A is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.212 H 329.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E179A
RGBrgb(158, 23, 154)
HSLhsl(302, 75%, 35%)
HSVhsv(302, 85%, 62%)
CMYKcmyk(0%, 85.4%, 2.5%, 38%)
CIE-LABlab(38.23, 64.83, -38.74)
CIE-LCHlch(38.23, 75.53, 329.14°)
OKLaboklab(49.59% 0.1831 -0.1073)
OKLCHoklch(49.59% 0.212 329.6)
XYZxyz(20.2396, 10.2166, 31.4716)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E179A #179E1B
analogous
#5E179E #9E179A #9E1756
triadic
#9E179A #9A9E17 #179A9E
tetradic
#9E179A #9E5E17 #179E1B #17569E
square
#9E179A #9E5E17 #179E1B #17569E
split-complementary
#9E179A #569E17 #179E5E
monochromatic
#330732 #690F66 #9E179A #D31FCE #E54BE0

Accessibility & contrast

On white

6.90
#9E179A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E179A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E179A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E179A#FFFFFF#000000##FFFFFF
##9E179A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#A42F5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e179a;
/* rgb */ color: rgb(158, 23, 154);
/* oklch */ color: oklch(49.6% 0.212 329.6);
Tailwind
colors: {
  custom: {
    50: '#bf69b8',
    500: '#9e179a',
    950: '#000000',
  },
}
SCSS
$custom: #9e179a;
$custom-light: #bf69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e179a",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 154
  },
  "hsl": {
    "h": 301.778,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.21221,
    "h": 329.6
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#9E179A
secondary
#4AC64E
accent
#F13C37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E179A

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

Preview Lab → · Contrast checker → · Palette generator →

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