#8E147A#8E147A

#8E147A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 336.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8E147A
RGBrgb(142, 20, 122)
HSLhsl(310, 75%, 32%)
HSVhsv(310, 86%, 56%)
CMYKcmyk(0%, 85.9%, 14.1%, 44.3%)
CIE-LABlab(33.26, 57.39, -27.03)
CIE-LCHlch(33.26, 63.43, 334.78°)
OKLaboklab(44.93% 0.169 -0.0738)
OKLCHoklch(44.93% 0.184 336.4)
XYZxyz(14.9186, 7.6577, 19.1010)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E147A #148E28
analogous
#65148E #8E147A #8E143D
triadic
#8E147A #7A8E14 #147A8E
tetradic
#8E147A #8E6514 #148E28 #143D8E
square
#8E147A #8E6514 #148E28 #143D8E
split-complementary
#8E147A #3D8E14 #148E65
monochromatic
#23051E #580C4C #8E147A #C41CA8 #E339C7

Accessibility & contrast

On white

8.30
#8E147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E147A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E147A#FFFFFF#000000##FFFFFF
##8E147A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#961F48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e147a;
/* rgb */ color: rgb(142, 20, 122);
/* oklch */ color: oklch(44.9% 0.184 336.4);
Tailwind
colors: {
  custom: {
    50: '#b364a1',
    500: '#8e147a',
    950: '#000000',
  },
}
SCSS
$custom: #8e147a;
$custom-light: #b364a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e147a",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 309.836,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.18442,
    "h": 336.4
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#8E147A
secondary
#3CC252
accent
#F25536
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8E147A

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

Preview Lab → · Contrast checker → · Palette generator →

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