#8E188E#8E188E

#8E188E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.196 H 328.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8E188E
RGBrgb(142, 24, 142)
HSLhsl(300, 71%, 33%)
HSVhsv(300, 83%, 56%)
CMYKcmyk(0%, 83.1%, 0%, 44.3%)
CIE-LABlab(34.72, 59.54, -37.17)
CIE-LCHlch(34.72, 70.19, 328.03°)
OKLaboklab(46.34% 0.1663 -0.1032)
OKLCHoklch(46.34% 0.196 328.2)
XYZxyz(16.3643, 8.3583, 26.3374)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E188E #188E18
analogous
#53188E #8E188E #8E1853
triadic
#8E188E #8E8E18 #188E8E
tetradic
#8E188E #8E5318 #188E18 #18538E
square
#8E188E #8E5318 #188E18 #18538E
split-complementary
#8E188E #538E18 #188E53
monochromatic
#250625 #5A0F5A #8E188E #C221C2 #DF41DF

Accessibility & contrast

On white

7.86
#8E188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E188E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E188E#FFFFFF#000000##FFFFFF
##8E188E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3C578B
Tritanopia (blue-blind)
#932E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e188e;
/* rgb */ color: rgb(142, 24, 142);
/* oklch */ color: oklch(46.3% 0.196 328.2);
Tailwind
colors: {
  custom: {
    50: '#b366af',
    500: '#8e188e',
    950: '#000000',
  },
}
SCSS
$custom: #8e188e;
$custom-light: #b366af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e188e",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.19569,
    "h": 328.2
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#8E188E
secondary
#42C042
accent
#EE3A3A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E188E

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

Preview Lab → · Contrast checker → · Palette generator →

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