#8E148A#8E148A

#8E148A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.196 H 329.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8E148A
RGBrgb(142, 20, 138)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 86%, 56%)
CMYKcmyk(0%, 85.9%, 2.8%, 44.3%)
CIE-LABlab(34.16, 59.81, -35.58)
CIE-LCHlch(34.16, 69.60, 329.25°)
OKLaboklab(45.87% 0.1691 -0.0985)
OKLCHoklch(45.87% 0.196 329.8)
XYZxyz(15.9929, 8.0874, 24.7585)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E148A #148E18
analogous
#55148E #8E148A #8E144D
triadic
#8E148A #8A8E14 #148A8E
tetradic
#8E148A #8E5514 #148E18 #144D8E
square
#8E148A #8E5514 #148E18 #144D8E
split-complementary
#8E148A #4D8E14 #148E55
monochromatic
#230522 #580C56 #8E148A #C41CBE #E339DE

Accessibility & contrast

On white

8.02
#8E148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E148A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E148A#FFFFFF#000000##FFFFFF
##8E148A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#932A52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e148a;
/* rgb */ color: rgb(142, 20, 138);
/* oklch */ color: oklch(45.9% 0.196 329.8);
Tailwind
colors: {
  custom: {
    50: '#b365ad',
    500: '#8e148a',
    950: '#000000',
  },
}
SCSS
$custom: #8e148a;
$custom-light: #b365ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8e148a",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 301.967,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.19569,
    "h": 329.8
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#8E148A
secondary
#3CC240
accent
#F23C36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E148A

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

Preview Lab → · Contrast checker → · Palette generator →

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