#8E2E86#8E2E86

#8E2E86 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.166 H 331.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8E2E86
RGBrgb(142, 46, 134)
HSLhsl(305, 51%, 37%)
HSVhsv(305, 68%, 56%)
CMYKcmyk(0%, 67.6%, 5.6%, 44.3%)
CIE-LABlab(36.79, 51.00, -28.95)
CIE-LCHlch(36.79, 58.64, 330.42°)
OKLaboklab(47.68% 0.1455 -0.0795)
OKLCHoklch(47.68% 0.166 331.3)
XYZxyz(16.4354, 9.4272, 23.5036)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E86 #2E8E36
analogous
#662E8E #8E2E86 #8E2E56
triadic
#8E2E86 #868E2E #2E868E
tetradic
#8E2E86 #8E662E #2E8E36 #2E568E
square
#8E2E86 #8E662E #2E8E36 #2E568E
split-complementary
#8E2E86 #568E2E #2E8E66
monochromatic
#32102F #601F5A #8E2E86 #BC3DB2 #CE68C6

Accessibility & contrast

On white

7.28
#8E2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E86
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E86#FFFFFF#000000##FFFFFF
##8E2E861.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#4A5B84
Tritanopia (blue-blind)
#943856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2e86;
/* rgb */ color: rgb(142, 46, 134);
/* oklch */ color: oklch(47.7% 0.166 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26fa9',
    500: '#8e2e86',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e86;
$custom-light: #b26fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e86",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 305,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.16582,
    "h": 331.3
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#8E2E86
secondary
#63B56A
accent
#DB594D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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