#8E2D86#8E2D86

#8E2D86 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.167 H 331.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8E2D86
RGBrgb(142, 45, 134)
HSLhsl(305, 52%, 37%)
HSVhsv(305, 68%, 56%)
CMYKcmyk(0%, 68.3%, 5.6%, 44.3%)
CIE-LABlab(36.65, 51.40, -29.18)
CIE-LCHlch(36.65, 59.11, 330.42°)
OKLaboklab(47.57% 0.1467 -0.0802)
OKLCHoklch(47.57% 0.167 331.3)
XYZxyz(16.3968, 9.3500, 23.4908)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D86 #2D8E35
analogous
#662D8E #8E2D86 #8E2D56
triadic
#8E2D86 #868E2D #2D868E
tetradic
#8E2D86 #8E662D #2D8E35 #2D568E
square
#8E2D86 #8E662D #2D8E35 #2D568E
split-complementary
#8E2D86 #568E2D #2D8E66
monochromatic
#31102E #601E5A #8E2D86 #BC3CB2 #CF67C6

Accessibility & contrast

On white

7.32
#8E2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D86
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D86#FFFFFF#000000##FFFFFF
##8E2D861.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#4A5B84
Tritanopia (blue-blind)
#943755
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2d86;
/* rgb */ color: rgb(142, 45, 134);
/* oklch */ color: oklch(47.6% 0.167 331.3);
Tailwind
colors: {
  custom: {
    50: '#b26ea9',
    500: '#8e2d86',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d86;
$custom-light: #b26ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d86",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 304.948,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47574,
    "c": 0.16716,
    "h": 331.3
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#8E2D86
secondary
#61B568
accent
#DB584C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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