#8E5AEB#8E5AEB

#8E5AEB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.209 H 296.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8E5AEB
RGBrgb(142, 90, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(39.6%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.76, 51.94, -65.89)
CIE-LCHlch(50.76, 83.90, 308.25°)
OKLaboklab(59.78% 0.0914 -0.1877)
OKLCHoklch(59.78% 0.209 296)
XYZxyz(29.8030, 19.0607, 80.6900)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5AEB #B7EB5A
analogous
#5A6EEB #8E5AEB #D65AEB
triadic
#8E5AEB #EB8E5A #5AEB8E
tetradic
#8E5AEB #EB5A6E #B7EB5A #5AEBD6
square
#8E5AEB #EB5A6E #B7EB5A #5AEBD6
split-complementary
#8E5AEB #EBD65A #6EEB5A
monochromatic
#4F16B5 #6923E4 #8E5AEB #B391F2 #D9C7F8

Accessibility & contrast

On white

4.36
#8E5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8E5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5AEB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5AEB#FFFFFF#000000##000000
##8E5AEB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#777B9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5aeb;
/* rgb */ color: rgb(142, 90, 235);
/* oklch */ color: oklch(59.8% 0.209 296.0);
Tailwind
colors: {
  custom: {
    50: '#b58bf2',
    500: '#8e5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8e5aeb;
$custom-light: #b58bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5aeb",
  "rgb": {
    "r": 142,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 261.517,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.20882,
    "h": 296
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#8E5AEB
secondary
#D8EAB7
accent
#DB0B90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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