#8E1886#8E1886

#8E1886 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 331.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1886
RGBrgb(142, 24, 134)
HSLhsl(304, 71%, 33%)
HSVhsv(304, 83%, 56%)
CMYKcmyk(0%, 83.1%, 5.6%, 44.3%)
CIE-LABlab(34.25, 58.26, -32.97)
CIE-LCHlch(34.25, 66.95, 330.49°)
OKLaboklab(45.85% 0.1665 -0.091)
OKLCHoklch(45.85% 0.19 331.3)
XYZxyz(15.7851, 8.1266, 23.2869)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1886 #188E20
analogous
#5B188E #8E1886 #8E184B
triadic
#8E1886 #868E18 #18868E
tetradic
#8E1886 #8E5B18 #188E20 #184B8E
square
#8E1886 #8E5B18 #188E20 #184B8E
split-complementary
#8E1886 #4B8E18 #188E5B
monochromatic
#250623 #5A0F55 #8E1886 #C221B7 #DF41D4

Accessibility & contrast

On white

8.00
#8E1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1886
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1886#FFFFFF#000000##FFFFFF
##8E18861.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#415683
Tritanopia (blue-blind)
#942950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1886;
/* rgb */ color: rgb(142, 24, 134);
/* oklch */ color: oklch(45.8% 0.190 331.3);
Tailwind
colors: {
  custom: {
    50: '#b366aa',
    500: '#8e1886',
    950: '#000000',
  },
}
SCSS
$custom: #8e1886;
$custom-light: #b366aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1886",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 304.068,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.18977,
    "h": 331.3
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#8E1886
secondary
#42C04B
accent
#EE463A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1886

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

Preview Lab → · Contrast checker → · Palette generator →

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