#8E4E89#8E4E89

#8E4E89 is a mid, moderate purple. Relative luminance 0.130; OKLCH L 52.1% C 0.117 H 330.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8E4E89
RGBrgb(142, 78, 137)
HSLhsl(305, 29%, 43%)
HSVhsv(305, 45%, 56%)
CMYKcmyk(0%, 45.1%, 3.5%, 44.3%)
CIE-LABlab(42.77, 35.88, -21.47)
CIE-LCHlch(42.77, 41.81, 329.11°)
OKLaboklab(52.13% 0.1012 -0.0584)
OKLCHoklch(52.13% 0.117 330)
XYZxyz(18.3949, 13.0067, 25.2037)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E89 #4E8E53
analogous
#734E8E #8E4E89 #8E4E69
triadic
#8E4E89 #898E4E #4E898E
tetradic
#8E4E89 #8E734E #4E8E53 #4E698E
square
#8E4E89 #8E734E #4E8E53 #4E698E
split-complementary
#8E4E89 #698E4E #4E8E73
monochromatic
#3F233D #663863 #8E4E89 #AE6BA9 #C493C0

Accessibility & contrast

On white

5.83
#8E4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8E4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4E89
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E89#FFFFFF#000000##FFFFFF
##8E4E891.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e4e89;
/* rgb */ color: rgb(142, 78, 137);
/* oklch */ color: oklch(52.1% 0.117 330.0);
Tailwind
colors: {
  custom: {
    50: '#b081ab',
    500: '#8e4e89',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e89;
$custom-light: #b081ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e89",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 304.688,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.11681,
    "h": 330
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#8E4E89
secondary
#88B08B
accent
#C56A62
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8E4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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