#8E5AEE#8E5AEE

#8E5AEE is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.212 H 295.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E5AEE
RGBrgb(142, 90, 238)
HSLhsl(261, 81%, 64%)
HSVhsv(261, 62%, 93%)
CMYKcmyk(40.3%, 62.2%, 0%, 6.7%)
CIE-LABlab(50.96, 52.71, -67.24)
CIE-LCHlch(50.96, 85.44, 308.09°)
OKLaboklab(59.99% 0.0912 -0.1917)
OKLCHoklch(59.99% 0.212 295.4)
XYZxyz(30.2400, 19.2355, 82.9919)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5AEE #BAEE5A
analogous
#5A70EE #8E5AEE #D85AEE
triadic
#8E5AEE #EE8E5A #5AEE8E
tetradic
#8E5AEE #EE5A70 #BAEE5A #5AEED8
square
#8E5AEE #EE5A70 #BAEE5A #5AEED8
split-complementary
#8E5AEE #EED85A #70EE5A
monochromatic
#4E13BA #6823E8 #8E5AEE #B491F4 #DAC9F9

Accessibility & contrast

On white

4.33
#8E5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5AEE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5AEE#FFFFFF#000000##000000
##8E5AEE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#757C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5aee;
/* rgb */ color: rgb(142, 90, 238);
/* oklch */ color: oklch(60.0% 0.212 295.4);
Tailwind
colors: {
  custom: {
    50: '#b58bf4',
    500: '#8e5aee',
    950: '#000000',
  },
}
SCSS
$custom: #8e5aee;
$custom-light: #b58bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5aee",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 261.081,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59991,
    "c": 0.21231,
    "h": 295.4
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#8E5AEE
secondary
#DAECB8
accent
#DE0893
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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