#8E188D#8E188D

#8E188D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.195 H 328.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8E188D
RGBrgb(142, 24, 141)
HSLhsl(301, 71%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 83.1%, 0.7%, 44.3%)
CIE-LABlab(34.66, 59.38, -36.65)
CIE-LCHlch(34.66, 69.78, 328.32°)
OKLaboklab(46.27% 0.1663 -0.1017)
OKLCHoklch(46.27% 0.195 328.6)
XYZxyz(16.2895, 8.3284, 25.9437)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E188D #188E19
analogous
#54188E #8E188D #8E1852
triadic
#8E188D #8D8E18 #188D8E
tetradic
#8E188D #8E5418 #188E19 #18528E
square
#8E188D #8E5418 #188E19 #18528E
split-complementary
#8E188D #528E18 #188E54
monochromatic
#250625 #5A0F59 #8E188D #C221C1 #DF41DE

Accessibility & contrast

On white

7.88
#8E188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E188D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E188D#FFFFFF#000000##FFFFFF
##8E188D1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#932D54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e188d;
/* rgb */ color: rgb(142, 24, 141);
/* oklch */ color: oklch(46.3% 0.195 328.6);
Tailwind
colors: {
  custom: {
    50: '#b366af',
    500: '#8e188d',
    950: '#000000',
  },
}
SCSS
$custom: #8e188d;
$custom-light: #b366af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e188d",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 300.508,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46274,
    "c": 0.19494,
    "h": 328.6
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#8E188D
secondary
#42C043
accent
#EE3B3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E188D

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

Preview Lab → · Contrast checker → · Palette generator →

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