#8E1888#8E1888

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

Color values

HEX#8E1888
RGBrgb(142, 24, 136)
HSLhsl(303, 71%, 33%)
HSVhsv(303, 83%, 56%)
CMYKcmyk(0%, 83.1%, 4.2%, 44.3%)
CIE-LABlab(34.36, 58.58, -34.03)
CIE-LCHlch(34.36, 67.75, 329.84°)
OKLaboklab(45.97% 0.1665 -0.0941)
OKLCHoklch(45.97% 0.191 330.5)
XYZxyz(15.9259, 8.1829, 24.0285)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1888 #188E1E
analogous
#59188E #8E1888 #8E184D
triadic
#8E1888 #888E18 #18888E
tetradic
#8E1888 #8E5918 #188E1E #184D8E
square
#8E1888 #8E5918 #188E1E #184D8E
split-complementary
#8E1888 #4D8E18 #188E59
monochromatic
#250624 #5A0F56 #8E1888 #C221BA #DF41D7

Accessibility & contrast

On white

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

On black

2.64
#8E1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E1888#FFFFFF#000000##FFFFFF
##8E18881.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#942A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1888;
/* rgb */ color: rgb(142, 24, 136);
/* oklch */ color: oklch(46.0% 0.191 330.5);
Tailwind
colors: {
  custom: {
    50: '#b366ab',
    500: '#8e1888',
    950: '#000000',
  },
}
SCSS
$custom: #8e1888;
$custom-light: #b366ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1888",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 303.051,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.19123,
    "h": 330.5
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#8E1888
secondary
#42C049
accent
#EE433A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1888

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

Preview Lab → · Contrast checker → · Palette generator →

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