#8E148D#8E148D

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

Color values

HEX#8E148D
RGBrgb(142, 20, 141)
HSLhsl(300, 75%, 32%)
HSVhsv(300, 86%, 56%)
CMYKcmyk(0%, 85.9%, 0.7%, 44.3%)
CIE-LABlab(34.35, 60.29, -37.15)
CIE-LCHlch(34.35, 70.81, 328.36°)
OKLaboklab(46.05% 0.1689 -0.1031)
OKLCHoklch(46.05% 0.198 328.6)
XYZxyz(16.2130, 8.1755, 25.9182)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E148D #148E15
analogous
#52148E #8E148D #8E1450
triadic
#8E148D #8D8E14 #148D8E
tetradic
#8E148D #8E5214 #148E15 #14508E
square
#8E148D #8E5214 #148E15 #14508E
split-complementary
#8E148D #508E14 #148E52
monochromatic
#230522 #580C58 #8E148D #C41CC2 #E339E2

Accessibility & contrast

On white

7.97
#8E148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E148D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E148D#FFFFFF#000000##FFFFFF
##8E148D1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#932B53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e148d;
/* rgb */ color: rgb(142, 20, 141);
/* oklch */ color: oklch(46.1% 0.198 328.6);
Tailwind
colors: {
  custom: {
    50: '#b365af',
    500: '#8e148d',
    950: '#000000',
  },
}
SCSS
$custom: #8e148d;
$custom-light: #b365af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e148d",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 300.492,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.19788,
    "h": 328.6
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#8E148D
secondary
#3CC23D
accent
#F23736
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E148D

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

Preview Lab → · Contrast checker → · Palette generator →

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