#8E1086#8E1086

#8E1086 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.195 H 331.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8E1086
RGBrgb(142, 16, 134)
HSLhsl(304, 80%, 31%)
HSVhsv(304, 89%, 56%)
CMYKcmyk(0%, 88.7%, 5.6%, 44.3%)
CIE-LABlab(33.66, 59.98, -33.91)
CIE-LCHlch(33.66, 68.90, 330.52°)
OKLaboklab(45.43% 0.1715 -0.0937)
OKLCHoklch(45.43% 0.195 331.4)
XYZxyz(15.6437, 7.8439, 23.2398)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1086 #108E18
analogous
#57108E #8E1086 #8E1047
triadic
#8E1086 #868E10 #10868E
tetradic
#8E1086 #8E5710 #108E18 #10478E
square
#8E1086 #8E5710 #108E18 #10478E
split-complementary
#8E1086 #478E10 #108E57
monochromatic
#20041E #570A52 #8E1086 #C516BA #E831DC

Accessibility & contrast

On white

8.18
#8E1086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1086
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1086#FFFFFF#000000##FFFFFF
##8E10861.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#94254F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1086;
/* rgb */ color: rgb(142, 16, 134);
/* oklch */ color: oklch(45.4% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#b364aa',
    500: '#8e1086',
    950: '#000000',
  },
}
SCSS
$custom: #8e1086;
$custom-light: #b364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1086",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 134
  },
  "hsl": {
    "h": 303.81,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45429,
    "c": 0.19542,
    "h": 331.4
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#8E1086
secondary
#37C340
accent
#F63E32
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1086

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

Preview Lab → · Contrast checker → · Palette generator →

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