#8E5AE8#8E5AE8

#8E5AE8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.205 H 296.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8E5AE8
RGBrgb(142, 90, 232)
HSLhsl(262, 76%, 63%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.8%, 61.2%, 0%, 9%)
CIE-LABlab(50.56, 51.16, -64.53)
CIE-LCHlch(50.56, 82.35, 308.41°)
OKLaboklab(59.57% 0.0916 -0.1837)
OKLCHoklch(59.57% 0.205 296.5)
XYZxyz(29.3732, 18.8888, 78.4266)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5AE8 #B4E85A
analogous
#5A6DE8 #8E5AE8 #D55AE8
triadic
#8E5AE8 #E88E5A #5AE88E
tetradic
#8E5AE8 #E85A6D #B4E85A #5AE8D5
square
#8E5AE8 #E85A6D #B4E85A #5AE8D5
split-complementary
#8E5AE8 #E8D55A #6DE85A
monochromatic
#5018AF #6924E1 #8E5AE8 #B390EF #D8C5F7

Accessibility & contrast

On white

4.40
#8E5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8E5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5AE8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5AE8#FFFFFF#000000##000000
##8E5AE81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#0B76E5
Tritanopia (blue-blind)
#787A99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e5ae8;
/* rgb */ color: rgb(142, 90, 232);
/* oklch */ color: oklch(59.6% 0.205 296.5);
Tailwind
colors: {
  custom: {
    50: '#b58bf0',
    500: '#8e5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #8e5ae8;
$custom-light: #b58bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5ae8",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 261.972,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.20532,
    "h": 296.5
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#8E5AE8
secondary
#D6E8B5
accent
#D80E8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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