#8E148C#8E148C

#8E148C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.197 H 329.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8E148C
RGBrgb(142, 20, 140)
HSLhsl(301, 75%, 32%)
HSVhsv(301, 86%, 56%)
CMYKcmyk(0%, 85.9%, 1.4%, 44.3%)
CIE-LABlab(34.28, 60.13, -36.63)
CIE-LCHlch(34.28, 70.41, 328.65°)
OKLaboklab(45.99% 0.169 -0.1016)
OKLCHoklch(45.99% 0.197 329)
XYZxyz(16.1390, 8.1458, 25.5281)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E148C #148E16
analogous
#53148E #8E148C #8E144F
triadic
#8E148C #8C8E14 #148C8E
tetradic
#8E148C #8E5314 #148E16 #144F8E
square
#8E148C #8E5314 #148E16 #144F8E
split-complementary
#8E148C #4F8E14 #148E53
monochromatic
#230522 #580C57 #8E148C #C41CC1 #E339E0

Accessibility & contrast

On white

7.99
#8E148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E148C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E148C#FFFFFF#000000##FFFFFF
##8E148C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#932B53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e148c;
/* rgb */ color: rgb(142, 20, 140);
/* oklch */ color: oklch(46.0% 0.197 329.0);
Tailwind
colors: {
  custom: {
    50: '#b365ae',
    500: '#8e148c',
    950: '#000000',
  },
}
SCSS
$custom: #8e148c;
$custom-light: #b365ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e148c",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 300.984,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.19715,
    "h": 329
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#8E148C
secondary
#3CC23E
accent
#F23936
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E148C

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

Preview Lab → · Contrast checker → · Palette generator →

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