#8E4591#8E4591

#8E4591 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.2% C 0.140 H 325.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8E4591
RGBrgb(142, 69, 145)
HSLhsl(298, 36%, 42%)
HSVhsv(298, 52%, 57%)
CMYKcmyk(2.1%, 52.4%, 0%, 43.1%)
CIE-LABlab(41.30, 42.23, -28.60)
CIE-LCHlch(41.30, 51.01, 325.89°)
OKLaboklab(51.15% 0.1162 -0.0787)
OKLCHoklch(51.15% 0.14 325.9)
XYZxyz(18.3939, 12.0523, 28.1400)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4591 #489145
analogous
#684591 #8E4591 #91456E
triadic
#8E4591 #918E45 #45918E
tetradic
#8E4591 #916845 #489145 #456E91
square
#8E4591 #916845 #489145 #456E91
split-complementary
#8E4591 #6E9145 #459168
monochromatic
#3D1E3E #653168 #8E4591 #B060B3 #C589C7

Accessibility & contrast

On white

6.16
#8E4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8E4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4591
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4591#FFFFFF#000000##FFFFFF
##8E45911.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C94
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#914E64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e4591;
/* rgb */ color: rgb(142, 69, 145);
/* oklch */ color: oklch(51.2% 0.140 325.9);
Tailwind
colors: {
  custom: {
    50: '#b17cb1',
    500: '#8e4591',
    950: '#000000',
  },
}
SCSS
$custom: #8e4591;
$custom-light: #b17cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4591",
  "rgb": {
    "r": 142,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 297.632,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.14038,
    "h": 325.9
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#8E4591
secondary
#82B280
accent
#CC5C61
background
#FBF7FA
surface
#F6EEF5
border
#D0C9CF
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4591

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

Preview Lab → · Contrast checker → · Palette generator →

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