#8E147C#8E147C

#8E147C is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 335.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8E147C
RGBrgb(142, 20, 124)
HSLhsl(309, 75%, 32%)
HSVhsv(309, 86%, 56%)
CMYKcmyk(0%, 85.9%, 12.7%, 44.3%)
CIE-LABlab(33.37, 57.68, -28.12)
CIE-LCHlch(33.37, 64.17, 334.01°)
OKLaboklab(45.04% 0.1691 -0.0769)
OKLCHoklch(45.04% 0.186 335.5)
XYZxyz(15.0438, 7.7078, 19.7603)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E147C #148E26
analogous
#63148E #8E147C #8E143F
triadic
#8E147C #7C8E14 #147C8E
tetradic
#8E147C #8E6314 #148E26 #143F8E
square
#8E147C #8E6314 #148E26 #143F8E
split-complementary
#8E147C #3F8E14 #148E63
monochromatic
#23051E #580C4D #8E147C #C41CAB #E339CA

Accessibility & contrast

On white

8.26
#8E147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E147C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E147C#FFFFFF#000000##FFFFFF
##8E147C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437F
Deuteranopia (green-blind)
#455579
Tritanopia (blue-blind)
#962149
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e147c;
/* rgb */ color: rgb(142, 20, 124);
/* oklch */ color: oklch(45.0% 0.186 335.5);
Tailwind
colors: {
  custom: {
    50: '#b364a2',
    500: '#8e147c',
    950: '#000000',
  },
}
SCSS
$custom: #8e147c;
$custom-light: #b364a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e147c",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 308.852,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45042,
    "c": 0.18578,
    "h": 335.5
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#8E147C
secondary
#3CC250
accent
#F25236
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E147C

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

Preview Lab → · Contrast checker → · Palette generator →

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