#8E4E99#8E4E99

#8E4E99 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.9% C 0.133 H 321.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8E4E99
RGBrgb(142, 78, 153)
HSLhsl(291, 32%, 45%)
HSVhsv(291, 49%, 60%)
CMYKcmyk(7.2%, 49%, 0%, 40%)
CIE-LABlab(43.51, 39.05, -29.96)
CIE-LCHlch(43.51, 49.22, 322.50°)
OKLaboklab(52.91% 0.1043 -0.0827)
OKLCHoklch(52.91% 0.133 321.6)
XYZxyz(19.6288, 13.5003, 31.7027)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E99 #59994E
analogous
#684E99 #8E4E99 #994E7E
triadic
#8E4E99 #998E4E #4E998E
tetradic
#8E4E99 #99684E #59994E #4E7E99
square
#8E4E99 #99684E #59994E #4E7E99
split-complementary
#8E4E99 #7E994E #4E9968
monochromatic
#432548 #683970 #8E4E99 #AB6FB5 #C397CA

Accessibility & contrast

On white

5.68
#8E4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8E4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4E99
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E99#FFFFFF#000000##FFFFFF
##8E4E991.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629C
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#90586C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e4e99;
/* rgb */ color: rgb(142, 78, 153);
/* oklch */ color: oklch(52.9% 0.133 321.6);
Tailwind
colors: {
  custom: {
    50: '#b182b7',
    500: '#8e4e99',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e99;
$custom-light: #b182b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e99",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 291.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52913,
    "c": 0.13308,
    "h": 321.6
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#8E4E99
secondary
#92B78C
accent
#C95F6F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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