#8E4897#8E4897

#8E4897 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.9% C 0.141 H 322.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8E4897
RGBrgb(142, 72, 151)
HSLhsl(293, 35%, 44%)
HSVhsv(293, 52%, 59%)
CMYKcmyk(6%, 52.3%, 0%, 40.8%)
CIE-LABlab(42.19, 41.85, -30.83)
CIE-LCHlch(42.19, 51.98, 323.62°)
OKLaboklab(51.9% 0.1127 -0.0852)
OKLCHoklch(51.9% 0.141 322.9)
XYZxyz(19.0580, 12.6208, 30.7043)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4897 #519748
analogous
#664897 #8E4897 #974878
triadic
#8E4897 #978E48 #48978E
tetradic
#8E4897 #976648 #519748 #487897
square
#8E4897 #976648 #519748 #487897
split-complementary
#8E4897 #789748 #489766
monochromatic
#402044 #67346E #8E4897 #AD66B6 #C390CA

Accessibility & contrast

On white

5.96
#8E4897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8E4897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4897
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4897#FFFFFF#000000##FFFFFF
##8E48971.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E9A
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#905269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e4897;
/* rgb */ color: rgb(142, 72, 151);
/* oklch */ color: oklch(51.9% 0.141 322.9);
Tailwind
colors: {
  custom: {
    50: '#b17eb6',
    500: '#8e4897',
    950: '#000000',
  },
}
SCSS
$custom: #8e4897;
$custom-light: #b17eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4897",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 293.165,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51903,
    "c": 0.14129,
    "h": 322.9
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#8E4897
secondary
#8BB685
accent
#CB5C69
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4897

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

Preview Lab → · Contrast checker → · Palette generator →

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