#8E148E#8E148E

#8E148E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.199 H 328.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E148E
RGBrgb(142, 20, 142)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 56%)
CMYKcmyk(0%, 85.9%, 0%, 44.3%)
CIE-LABlab(34.41, 60.45, -37.67)
CIE-LCHlch(34.41, 71.22, 328.07°)
OKLaboklab(46.12% 0.1689 -0.1046)
OKLCHoklch(46.12% 0.199 328.2)
XYZxyz(16.2878, 8.2054, 26.3119)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E148E #148E14
analogous
#51148E #8E148E #8E1451
triadic
#8E148E #8E8E14 #148E8E
tetradic
#8E148E #8E5114 #148E14 #14518E
square
#8E148E #8E5114 #148E14 #14518E
split-complementary
#8E148E #518E14 #148E51
monochromatic
#230523 #580C58 #8E148E #C41CC4 #E339E3

Accessibility & contrast

On white

7.95
#8E148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E148E
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E148E#FFFFFF#000000##FFFFFF
##8E148E1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#932C54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e148e;
/* rgb */ color: rgb(142, 20, 142);
/* oklch */ color: oklch(46.1% 0.199 328.2);
Tailwind
colors: {
  custom: {
    50: '#b365af',
    500: '#8e148e',
    950: '#000000',
  },
}
SCSS
$custom: #8e148e;
$custom-light: #b365af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e148e",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46116,
    "c": 0.19862,
    "h": 328.2
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#8E148E
secondary
#3CC23C
accent
#F23636
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E148E

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

Preview Lab → · Contrast checker → · Palette generator →

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