#8E147D#8E147D

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

Color values

HEX#8E147D
RGBrgb(142, 20, 125)
HSLhsl(308, 75%, 32%)
HSVhsv(308, 86%, 56%)
CMYKcmyk(0%, 85.9%, 12%, 44.3%)
CIE-LABlab(33.42, 57.82, -28.66)
CIE-LCHlch(33.42, 64.54, 333.63°)
OKLaboklab(45.1% 0.1691 -0.0785)
OKLCHoklch(45.1% 0.186 335.1)
XYZxyz(15.1074, 7.7332, 20.0951)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E147D #148E25
analogous
#62148E #8E147D #8E1440
triadic
#8E147D #7D8E14 #147D8E
tetradic
#8E147D #8E6214 #148E25 #14408E
square
#8E147D #8E6214 #148E25 #14408E
split-complementary
#8E147D #408E14 #148E62
monochromatic
#23051F #580C4E #8E147D #C41CAC #E339CB

Accessibility & contrast

On white

8.25
#8E147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E147D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E147D#FFFFFF#000000##FFFFFF
##8E147D1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134380
Deuteranopia (green-blind)
#44557A
Tritanopia (blue-blind)
#95214A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e147d;
/* rgb */ color: rgb(142, 20, 125);
/* oklch */ color: oklch(45.1% 0.186 335.1);
Tailwind
colors: {
  custom: {
    50: '#b364a3',
    500: '#8e147d',
    950: '#000000',
  },
}
SCSS
$custom: #8e147d;
$custom-light: #b364a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e147d",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 308.361,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.18647,
    "h": 335.1
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#8E147D
secondary
#3CC24F
accent
#F25036
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E147D

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

Preview Lab → · Contrast checker → · Palette generator →

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