#8E4E8A#8E4E8A

#8E4E8A is a mid, moderate purple. Relative luminance 0.130; OKLCH L 52.2% C 0.118 H 329.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E4E8A
RGBrgb(142, 78, 138)
HSLhsl(304, 29%, 43%)
HSVhsv(304, 45%, 56%)
CMYKcmyk(0%, 45.1%, 2.8%, 44.3%)
CIE-LABlab(42.82, 36.07, -22.01)
CIE-LCHlch(42.82, 42.26, 328.62°)
OKLaboklab(52.17% 0.1014 -0.0599)
OKLCHoklch(52.17% 0.118 329.4)
XYZxyz(18.4669, 13.0355, 25.5832)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E8A #4E8E52
analogous
#724E8E #8E4E8A #8E4E6A
triadic
#8E4E8A #8A8E4E #4E8A8E
tetradic
#8E4E8A #8E724E #4E8E52 #4E6A8E
square
#8E4E8A #8E724E #4E8E52 #4E6A8E
split-complementary
#8E4E8A #6A8E4E #4E8E72
monochromatic
#3F233D #663864 #8E4E8A #AE6BAA #C493C1

Accessibility & contrast

On white

5.82
#8E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8E4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4E8A
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E8A#FFFFFF#000000##FFFFFF
##8E4E8A1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608C
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#925365
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e4e8a;
/* rgb */ color: rgb(142, 78, 138);
/* oklch */ color: oklch(52.2% 0.118 329.4);
Tailwind
colors: {
  custom: {
    50: '#b081ac',
    500: '#8e4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e8a;
$custom-light: #b081ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e8a",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 303.75,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52173,
    "c": 0.11778,
    "h": 329.4
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#8E4E8A
secondary
#88B08A
accent
#C56962
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8E4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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