#8E187E#8E187E

#8E187E is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.184 H 334.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8E187E
RGBrgb(142, 24, 126)
HSLhsl(308, 71%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 83.1%, 11.3%, 44.3%)
CIE-LABlab(33.80, 57.03, -28.69)
CIE-LCHlch(33.80, 63.84, 333.29°)
OKLaboklab(45.39% 0.1664 -0.0786)
OKLCHoklch(45.39% 0.184 334.7)
XYZxyz(15.2481, 7.9118, 20.4587)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E187E #188E28
analogous
#63188E #8E187E #8E1843
triadic
#8E187E #7E8E18 #187E8E
tetradic
#8E187E #8E6318 #188E28 #18438E
square
#8E187E #8E6318 #188E28 #18438E
split-complementary
#8E187E #438E18 #188E63
monochromatic
#250621 #5A0F50 #8E187E #C221AC #DF41CA

Accessibility & contrast

On white

8.13
#8E187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E187E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E187E#FFFFFF#000000##FFFFFF
##8E187E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#95254B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e187e;
/* rgb */ color: rgb(142, 24, 126);
/* oklch */ color: oklch(45.4% 0.184 334.7);
Tailwind
colors: {
  custom: {
    50: '#b366a4',
    500: '#8e187e',
    950: '#000000',
  },
}
SCSS
$custom: #8e187e;
$custom-light: #b366a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e187e",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 308.136,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.18404,
    "h": 334.7
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#8E187E
secondary
#42C053
accent
#EE523A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E187E

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

Preview Lab → · Contrast checker → · Palette generator →

#8E187E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva