#8E147B#8E147B

#8E147B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.185 H 336.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8E147B
RGBrgb(142, 20, 123)
HSLhsl(309, 75%, 32%)
HSVhsv(309, 86%, 56%)
CMYKcmyk(0%, 85.9%, 13.4%, 44.3%)
CIE-LABlab(33.31, 57.53, -27.57)
CIE-LCHlch(33.31, 63.80, 334.39°)
OKLaboklab(44.99% 0.1691 -0.0754)
OKLCHoklch(44.99% 0.185 336)
XYZxyz(14.9809, 7.6826, 19.4290)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E147B #148E27
analogous
#64148E #8E147B #8E143E
triadic
#8E147B #7B8E14 #147B8E
tetradic
#8E147B #8E6414 #148E27 #143E8E
square
#8E147B #8E6414 #148E27 #143E8E
split-complementary
#8E147B #3E8E14 #148E64
monochromatic
#23051E #580C4D #8E147B #C41CA9 #E339C9

Accessibility & contrast

On white

8.28
#8E147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E147B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E147B#FFFFFF#000000##FFFFFF
##8E147B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437E
Deuteranopia (green-blind)
#455578
Tritanopia (blue-blind)
#962049
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e147b;
/* rgb */ color: rgb(142, 20, 123);
/* oklch */ color: oklch(45.0% 0.185 336.0);
Tailwind
colors: {
  custom: {
    50: '#b364a1',
    500: '#8e147b',
    950: '#000000',
  },
}
SCSS
$custom: #8e147b;
$custom-light: #b364a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e147b",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 309.344,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44986,
    "c": 0.1851,
    "h": 336
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#8E147B
secondary
#3CC251
accent
#F25336
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8E147B

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

Preview Lab → · Contrast checker → · Palette generator →

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