#8E2086#8E2086

#8E2086 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.182 H 331.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8E2086
RGBrgb(142, 32, 134)
HSLhsl(304, 63%, 34%)
HSVhsv(304, 77%, 56%)
CMYKcmyk(0%, 77.5%, 5.6%, 44.3%)
CIE-LABlab(35.02, 56.04, -31.75)
CIE-LCHlch(35.02, 64.41, 330.46°)
OKLaboklab(46.4% 0.1601 -0.0875)
OKLCHoklch(46.4% 0.182 331.3)
XYZxyz(15.9749, 8.5063, 23.3502)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2086 #208E28
analogous
#5F208E #8E2086 #8E204F
triadic
#8E2086 #868E20 #20868E
tetradic
#8E2086 #8E5F20 #208E28 #204F8E
square
#8E2086 #8E5F20 #208E28 #204F8E
split-complementary
#8E2086 #4F8E20 #208E5F
monochromatic
#2A0928 #5C1557 #8E2086 #C02BB5 #D851CE

Accessibility & contrast

On white

7.77
#8E2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2086
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2086#FFFFFF#000000##FFFFFF
##8E20861.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#942E52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e2086;
/* rgb */ color: rgb(142, 32, 134);
/* oklch */ color: oklch(46.4% 0.182 331.3);
Tailwind
colors: {
  custom: {
    50: '#b369a9',
    500: '#8e2086',
    950: '#000000',
  },
}
SCSS
$custom: #8e2086;
$custom-light: #b369a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2086",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 304.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.18245,
    "h": 331.3
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#8E2086
secondary
#4FBB57
accent
#E64E42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2086

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

Preview Lab → · Contrast checker → · Palette generator →

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