#8E519D#8E519D

#8E519D is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.6% C 0.132 H 319.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8E519D
RGBrgb(142, 81, 157)
HSLhsl(288, 32%, 47%)
HSVhsv(288, 48%, 62%)
CMYKcmyk(9.6%, 48.4%, 0%, 38.4%)
CIE-LABlab(44.33, 38.24, -31.05)
CIE-LCHlch(44.33, 49.26, 320.92°)
OKLaboklab(53.59% 0.1005 -0.0859)
OKLCHoklch(53.59% 0.132 319.5)
XYZxyz(20.1828, 14.0707, 33.5445)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E519D #609D51
analogous
#68519D #8E519D #9D5186
triadic
#8E519D #9D8E51 #519D8E
tetradic
#8E519D #9D6851 #609D51 #51869D
square
#8E519D #9D6851 #609D51 #51869D
split-complementary
#8E519D #869D51 #519D68
monochromatic
#45274C #693C75 #8E519D #AA74B7 #C39CCC

Accessibility & contrast

On white

5.51
#8E519D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8E519D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E519D
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E519D#FFFFFF#000000##FFFFFF
##8E519D1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A0
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#8F5B70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e519d;
/* rgb */ color: rgb(142, 81, 157);
/* oklch */ color: oklch(53.6% 0.132 319.5);
Tailwind
colors: {
  custom: {
    50: '#b184ba',
    500: '#8e519d',
    950: '#000000',
  },
}
SCSS
$custom: #8e519d;
$custom-light: #b184ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e519d",
  "rgb": {
    "r": 142,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 288.158,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53591,
    "c": 0.13215,
    "h": 319.5
  },
  "luminance": 0.1407
}

Semantic roles & 50–950 ramp

primary
#8E519D
secondary
#99B991
accent
#C86074
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8E519D

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

Preview Lab → · Contrast checker → · Palette generator →

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