#8E147F#8E147F

#8E147F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.188 H 334.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8E147F
RGBrgb(142, 20, 127)
HSLhsl(307, 75%, 32%)
HSVhsv(307, 86%, 56%)
CMYKcmyk(0%, 85.9%, 10.6%, 44.3%)
CIE-LABlab(33.53, 58.12, -29.74)
CIE-LCHlch(33.53, 65.29, 332.90°)
OKLaboklab(45.21% 0.1692 -0.0816)
OKLCHoklch(45.21% 0.188 334.2)
XYZxyz(15.2364, 7.7848, 20.7747)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E147F #148E23
analogous
#60148E #8E147F #8E1442
triadic
#8E147F #7F8E14 #147F8E
tetradic
#8E147F #8E6014 #148E23 #14428E
square
#8E147F #8E6014 #148E23 #14428E
split-complementary
#8E147F #428E14 #148E60
monochromatic
#23051F #580C4F #8E147F #C41CAF #E339CE

Accessibility & contrast

On white

8.21
#8E147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E147F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E147F#FFFFFF#000000##FFFFFF
##8E147F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#95234B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e147f;
/* rgb */ color: rgb(142, 20, 127);
/* oklch */ color: oklch(45.2% 0.188 334.2);
Tailwind
colors: {
  custom: {
    50: '#b364a4',
    500: '#8e147f',
    950: '#000000',
  },
}
SCSS
$custom: #8e147f;
$custom-light: #b364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e147f",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 307.377,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45212,
    "c": 0.18786,
    "h": 334.2
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#8E147F
secondary
#3CC24C
accent
#F24D36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E147F

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

Preview Lab → · Contrast checker → · Palette generator →

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