#9E179B#9E179B

#9E179B is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.213 H 329.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E179B
RGBrgb(158, 23, 155)
HSLhsl(301, 75%, 35%)
HSVhsv(301, 85%, 62%)
CMYKcmyk(0%, 85.4%, 1.9%, 38%)
CIE-LABlab(38.29, 64.99, -39.25)
CIE-LCHlch(38.29, 75.92, 328.87°)
OKLaboklab(49.65% 0.183 -0.1088)
OKLCHoklch(49.65% 0.213 329.3)
XYZxyz(20.3232, 10.2501, 31.9121)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E179B #179E1A
analogous
#5D179E #9E179B #9E1758
triadic
#9E179B #9B9E17 #179B9E
tetradic
#9E179B #9E5D17 #179E1A #17589E
square
#9E179B #9E5D17 #179E1A #17589E
split-complementary
#9E179B #589E17 #179E5D
monochromatic
#330732 #690F67 #9E179B #D31FCF #E54BE1

Accessibility & contrast

On white

6.89
#9E179B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E179B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E179B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E179B#FFFFFF#000000##FFFFFF
##9E179B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#A4305C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e179b;
/* rgb */ color: rgb(158, 23, 155);
/* oklch */ color: oklch(49.7% 0.213 329.3);
Tailwind
colors: {
  custom: {
    50: '#bf69b9',
    500: '#9e179b',
    950: '#000000',
  },
}
SCSS
$custom: #9e179b;
$custom-light: #bf69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e179b",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 155
  },
  "hsl": {
    "h": 301.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.21293,
    "h": 329.3
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#9E179B
secondary
#4AC64D
accent
#F13B37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E179B

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

Preview Lab → · Contrast checker → · Palette generator →

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