#9E178F#9E178F

#9E178F is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.205 H 333.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E178F
RGBrgb(158, 23, 143)
HSLhsl(307, 75%, 35%)
HSVhsv(307, 85%, 62%)
CMYKcmyk(0%, 85.4%, 9.5%, 38%)
CIE-LABlab(37.60, 63.17, -33.02)
CIE-LCHlch(37.60, 71.28, 332.40°)
OKLaboklab(48.95% 0.1833 -0.0907)
OKLCHoklch(48.95% 0.205 333.7)
XYZxyz(19.3651, 9.8668, 26.8659)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E178F #179E26
analogous
#6A179E #9E178F #9E174B
triadic
#9E178F #8F9E17 #178F9E
tetradic
#9E178F #9E6A17 #179E26 #174B9E
square
#9E178F #9E6A17 #179E26 #174B9E
split-complementary
#9E178F #4B9E17 #179E6A
monochromatic
#33072E #690F5F #9E178F #D31FBF #E54BD4

Accessibility & contrast

On white

7.06
#9E178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E178F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E178F#FFFFFF#000000##FFFFFF
##9E178F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A62955
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e178f;
/* rgb */ color: rgb(158, 23, 143);
/* oklch */ color: oklch(48.9% 0.205 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf69b0',
    500: '#9e178f',
    950: '#000000',
  },
}
SCSS
$custom: #9e178f;
$custom-light: #bf69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e178f",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 306.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.20452,
    "h": 333.7
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#9E178F
secondary
#4AC658
accent
#F14B37
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E178F

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

Preview Lab → · Contrast checker → · Palette generator →

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