#8E2986#8E2986

#8E2986 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.172 H 331.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8E2986
RGBrgb(142, 41, 134)
HSLhsl(305, 55%, 36%)
HSVhsv(305, 71%, 56%)
CMYKcmyk(0%, 71.1%, 5.6%, 44.3%)
CIE-LABlab(36.10, 52.95, -30.05)
CIE-LCHlch(36.10, 60.88, 330.43°)
OKLaboklab(47.18% 0.1512 -0.0826)
OKLCHoklch(47.18% 0.172 331.3)
XYZxyz(16.2513, 9.0592, 23.4423)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2986 #298E31
analogous
#63298E #8E2986 #8E2954
triadic
#8E2986 #868E29 #29868E
tetradic
#8E2986 #8E6329 #298E31 #29548E
square
#8E2986 #8E6329 #298E31 #29548E
split-complementary
#8E2986 #548E29 #298E63
monochromatic
#2F0E2C #5F1B59 #8E2986 #BD37B3 #D160C8

Accessibility & contrast

On white

7.47
#8E2986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2986
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2986#FFFFFF#000000##FFFFFF
##8E29861.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#943454
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2986;
/* rgb */ color: rgb(142, 41, 134);
/* oklch */ color: oklch(47.2% 0.172 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26ca9',
    500: '#8e2986',
    950: '#000000',
  },
}
SCSS
$custom: #8e2986;
$custom-light: #b26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2986",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 304.752,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47175,
    "c": 0.17228,
    "h": 331.3
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#8E2986
secondary
#5CB763
accent
#DF5549
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2986

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

Preview Lab → · Contrast checker → · Palette generator →

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