#8E2A86#8E2A86

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

Color values

HEX#8E2A86
RGBrgb(142, 42, 134)
HSLhsl(305, 54%, 36%)
HSVhsv(305, 70%, 56%)
CMYKcmyk(0%, 70.4%, 5.6%, 44.3%)
CIE-LABlab(36.23, 52.58, -29.83)
CIE-LCHlch(36.23, 60.45, 330.43°)
OKLaboklab(47.27% 0.1501 -0.082)
OKLCHoklch(47.27% 0.171 331.3)
XYZxyz(16.2863, 9.1292, 23.4540)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A86 #2A8E32
analogous
#642A8E #8E2A86 #8E2A54
triadic
#8E2A86 #868E2A #2A868E
tetradic
#8E2A86 #8E642A #2A8E32 #2A548E
square
#8E2A86 #8E642A #2A8E32 #2A548E
split-complementary
#8E2A86 #548E2A #2A8E64
monochromatic
#300E2D #5F1C59 #8E2A86 #BD38B3 #D162C8

Accessibility & contrast

On white

7.43
#8E2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8E2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A86
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A86#FFFFFF#000000##FFFFFF
##8E2A861.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2a86;
/* rgb */ color: rgb(142, 42, 134);
/* oklch */ color: oklch(47.3% 0.171 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26da9',
    500: '#8e2a86',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a86;
$custom-light: #b26da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a86",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 304.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.17104,
    "h": 331.3
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#8E2A86
secondary
#5DB664
accent
#DE564A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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