#8E2486#8E2486

#8E2486 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.178 H 331.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8E2486
RGBrgb(142, 36, 134)
HSLhsl(305, 60%, 35%)
HSVhsv(305, 75%, 56%)
CMYKcmyk(0%, 74.6%, 5.6%, 44.3%)
CIE-LABlab(35.47, 54.74, -31.04)
CIE-LCHlch(35.47, 62.93, 330.45°)
OKLaboklab(46.72% 0.1563 -0.0855)
OKLCHoklch(46.72% 0.178 331.3)
XYZxyz(16.0893, 8.7351, 23.3883)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2486 #248E2C
analogous
#61248E #8E2486 #8E2451
triadic
#8E2486 #868E24 #24868E
tetradic
#8E2486 #8E6124 #248E2C #24518E
square
#8E2486 #8E6124 #248E2C #24518E
split-complementary
#8E2486 #518E24 #248E61
monochromatic
#2C0B2A #5D1858 #8E2486 #BF30B4 #D558CB

Accessibility & contrast

On white

7.65
#8E2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E2486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2486
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2486#FFFFFF#000000##FFFFFF
##8E24861.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#455983
Tritanopia (blue-blind)
#943153
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2486;
/* rgb */ color: rgb(142, 36, 134);
/* oklch */ color: oklch(46.7% 0.178 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26aa9',
    500: '#8e2486',
    950: '#000000',
  },
}
SCSS
$custom: #8e2486;
$custom-light: #b26aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2486",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 304.528,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.17817,
    "h": 331.3
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#8E2486
secondary
#55B95C
accent
#E35145
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2486

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

Preview Lab → · Contrast checker → · Palette generator →

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