#8E5AE5#8E5AE5

#8E5AE5 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.202 H 297.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8E5AE5
RGBrgb(142, 90, 229)
HSLhsl(262, 73%, 63%)
HSVhsv(262, 61%, 90%)
CMYKcmyk(38%, 60.7%, 0%, 10.2%)
CIE-LABlab(50.36, 50.39, -63.16)
CIE-LCHlch(50.36, 80.80, 308.59°)
OKLaboklab(59.36% 0.0918 -0.1797)
OKLCHoklch(59.36% 0.202 297.1)
XYZxyz(28.9507, 18.7198, 76.2015)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5AE5 #B1E55A
analogous
#5A6BE5 #8E5AE5 #D35AE5
triadic
#8E5AE5 #E58E5A #5AE58E
tetradic
#8E5AE5 #E55A6B #B1E55A #5AE5D3
square
#8E5AE5 #E55A6B #B1E55A #5AE5D3
split-complementary
#8E5AE5 #E5D35A #6BE55A
monochromatic
#501BAA #6A25DD #8E5AE5 #B28FED #D6C4F6

Accessibility & contrast

On white

4.43
#8E5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8E5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5AE5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5AE5#FFFFFF#000000##000000
##8E5AE51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#1776E2
Tritanopia (blue-blind)
#797997
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5ae5;
/* rgb */ color: rgb(142, 90, 229);
/* oklch */ color: oklch(59.4% 0.202 297.1);
Tailwind
colors: {
  custom: {
    50: '#b48bee',
    500: '#8e5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ae5;
$custom-light: #b48bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ae5",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 262.446,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.20179,
    "h": 297.1
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#8E5AE5
secondary
#D4E7B4
accent
#D5118B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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