#8E519B#8E519B

#8E519B is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.5% C 0.130 H 320.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E519B
RGBrgb(142, 81, 155)
HSLhsl(289, 31%, 46%)
HSVhsv(289, 48%, 61%)
CMYKcmyk(8.4%, 47.7%, 0%, 39.2%)
CIE-LABlab(44.24, 37.82, -30.01)
CIE-LCHlch(44.24, 48.28, 321.56°)
OKLaboklab(53.49% 0.1001 -0.0829)
OKLCHoklch(53.49% 0.13 320.4)
XYZxyz(20.0134, 14.0030, 32.6526)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E519B #5E9B51
analogous
#69519B #8E519B #9B5183
triadic
#8E519B #9B8E51 #519B8E
tetradic
#8E519B #9B6951 #5E9B51 #51839B
square
#8E519B #9B6951 #5E9B51 #51839B
split-complementary
#8E519B #839B51 #519B69
monochromatic
#44274B #693C73 #8E519B #AA73B6 #C39BCB

Accessibility & contrast

On white

5.53
#8E519B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8E519B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E519B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E519B#FFFFFF#000000##FFFFFF
##8E519B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649E
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#8F5B6F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e519b;
/* rgb */ color: rgb(142, 81, 155);
/* oklch */ color: oklch(53.5% 0.130 320.4);
Tailwind
colors: {
  custom: {
    50: '#b184b9',
    500: '#8e519b',
    950: '#000000',
  },
}
SCSS
$custom: #8e519b;
$custom-light: #b184b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e519b",
  "rgb": {
    "r": 142,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 289.459,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.12997,
    "h": 320.4
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#8E519B
secondary
#97B890
accent
#C86072
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8E519B

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

Preview Lab → · Contrast checker → · Palette generator →

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