#8E2886#8E2886

#8E2886 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 331.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8E2886
RGBrgb(142, 40, 134)
HSLhsl(305, 56%, 36%)
HSVhsv(305, 72%, 56%)
CMYKcmyk(0%, 71.8%, 5.6%, 44.3%)
CIE-LABlab(35.97, 53.33, -30.25)
CIE-LCHlch(35.97, 61.31, 330.43°)
OKLaboklab(47.08% 0.1522 -0.0832)
OKLCHoklch(47.08% 0.174 331.3)
XYZxyz(16.2172, 8.9909, 23.4309)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2886 #288E30
analogous
#63288E #8E2886 #8E2853
triadic
#8E2886 #868E28 #28868E
tetradic
#8E2886 #8E6328 #288E30 #28538E
square
#8E2886 #8E6328 #288E30 #28538E
split-complementary
#8E2886 #538E28 #288E63
monochromatic
#2F0D2C #5E1B59 #8E2886 #BE35B3 #D25FC9

Accessibility & contrast

On white

7.51
#8E2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2886
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2886#FFFFFF#000000##FFFFFF
##8E28861.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B89
Deuteranopia (green-blind)
#475A83
Tritanopia (blue-blind)
#943454
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2886;
/* rgb */ color: rgb(142, 40, 134);
/* oklch */ color: oklch(47.1% 0.174 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26ca9',
    500: '#8e2886',
    950: '#000000',
  },
}
SCSS
$custom: #8e2886;
$custom-light: #b26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2886",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 304.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.17351,
    "h": 331.3
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#8E2886
secondary
#5BB762
accent
#DF5448
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2886

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

Preview Lab → · Contrast checker → · Palette generator →

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