#9E178E#9E178E

#9E178E is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.204 H 334.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9E178E
RGBrgb(158, 23, 142)
HSLhsl(307, 75%, 35%)
HSVhsv(307, 85%, 62%)
CMYKcmyk(0%, 85.4%, 10.1%, 38%)
CIE-LABlab(37.55, 63.02, -32.50)
CIE-LCHlch(37.55, 70.91, 332.72°)
OKLaboklab(48.89% 0.1833 -0.0892)
OKLCHoklch(48.89% 0.204 334)
XYZxyz(19.2896, 9.8367, 26.4687)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E178E #179E27
analogous
#6A179E #9E178E #9E174A
triadic
#9E178E #8E9E17 #178E9E
tetradic
#9E178E #9E6A17 #179E27 #174A9E
square
#9E178E #9E6A17 #179E27 #174A9E
split-complementary
#9E178E #4A9E17 #179E6A
monochromatic
#33072E #690F5E #9E178E #D31FBE #E54BD2

Accessibility & contrast

On white

7.08
#9E178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E178E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E178E#FFFFFF#000000##FFFFFF
##9E178E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A62855
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e178e;
/* rgb */ color: rgb(158, 23, 142);
/* oklch */ color: oklch(48.9% 0.204 334.0);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9e178e',
    950: '#000000',
  },
}
SCSS
$custom: #9e178e;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9e178e",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 307.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.20383,
    "h": 334
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#9E178E
secondary
#4AC659
accent
#F14D37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E178E

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

Preview Lab → · Contrast checker → · Palette generator →

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