#8E2786#8E2786

#8E2786 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.175 H 331.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8E2786
RGBrgb(142, 39, 134)
HSLhsl(305, 57%, 35%)
HSVhsv(305, 73%, 56%)
CMYKcmyk(0%, 72.5%, 5.6%, 44.3%)
CIE-LABlab(35.84, 53.69, -30.46)
CIE-LCHlch(35.84, 61.73, 330.44°)
OKLaboklab(46.99% 0.1533 -0.0838)
OKLCHoklch(46.99% 0.175 331.3)
XYZxyz(16.1839, 8.9243, 23.4198)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2786 #278E2F
analogous
#62278E #8E2786 #8E2752
triadic
#8E2786 #868E27 #27868E
tetradic
#8E2786 #8E6227 #278E2F #27528E
square
#8E2786 #8E6227 #278E2F #27528E
split-complementary
#8E2786 #528E27 #278E62
monochromatic
#2E0D2B #5E1A59 #8E2786 #BE34B3 #D25DC9

Accessibility & contrast

On white

7.54
#8E2786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2786
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2786#FFFFFF#000000##FFFFFF
##8E27861.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#475983
Tritanopia (blue-blind)
#943354
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2786;
/* rgb */ color: rgb(142, 39, 134);
/* oklch */ color: oklch(47.0% 0.175 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26ca9',
    500: '#8e2786',
    950: '#000000',
  },
}
SCSS
$custom: #8e2786;
$custom-light: #b26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2786",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 304.66,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.17471,
    "h": 331.3
  },
  "luminance": 0.08923
}

Semantic roles & 50–950 ramp

primary
#8E2786
secondary
#59B860
accent
#E05348
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2786

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

Preview Lab → · Contrast checker → · Palette generator →

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