#8E147E#8E147E

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

Color values

HEX#8E147E
RGBrgb(142, 20, 126)
HSLhsl(308, 75%, 32%)
HSVhsv(308, 86%, 56%)
CMYKcmyk(0%, 85.9%, 11.3%, 44.3%)
CIE-LABlab(33.48, 57.97, -29.20)
CIE-LCHlch(33.48, 64.91, 333.26°)
OKLaboklab(45.15% 0.1692 -0.0801)
OKLCHoklch(45.15% 0.187 334.7)
XYZxyz(15.1716, 7.7589, 20.4332)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E147E #148E24
analogous
#61148E #8E147E #8E1441
triadic
#8E147E #7E8E14 #147E8E
tetradic
#8E147E #8E6114 #148E24 #14418E
square
#8E147E #8E6114 #148E24 #14418E
split-complementary
#8E147E #418E14 #148E61
monochromatic
#23051F #580C4E #8E147E #C41CAE #E339CD

Accessibility & contrast

On white

8.23
#8E147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E147E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E147E#FFFFFF#000000##FFFFFF
##8E147E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114481
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#95224B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e147e;
/* rgb */ color: rgb(142, 20, 126);
/* oklch */ color: oklch(45.2% 0.187 334.7);
Tailwind
colors: {
  custom: {
    50: '#b364a4',
    500: '#8e147e',
    950: '#000000',
  },
}
SCSS
$custom: #8e147e;
$custom-light: #b364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e147e",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 307.869,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.18716,
    "h": 334.7
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#8E147E
secondary
#3CC24E
accent
#F24F36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E147E

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

Preview Lab → · Contrast checker → · Palette generator →

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