#8E59EA#8E59EA

#8E59EA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.209 H 296.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8E59EA
RGBrgb(142, 89, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(39.3%, 62%, 0%, 8.2%)
CIE-LABlab(50.49, 52.20, -65.75)
CIE-LCHlch(50.49, 83.96, 308.45°)
OKLaboklab(59.57% 0.0926 -0.1873)
OKLCHoklch(59.57% 0.209 296.3)
XYZxyz(29.5751, 18.8355, 79.9034)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59EA #B5EA59
analogous
#596CEA #8E59EA #D659EA
triadic
#8E59EA #EA8E59 #59EA8E
tetradic
#8E59EA #EA596C #B5EA59 #59EAD6
square
#8E59EA #EA596C #B5EA59 #59EAD6
split-complementary
#8E59EA #EAD659 #6CEA59
monochromatic
#4F17B2 #6923E3 #8E59EA #B38FF1 #D8C6F8

Accessibility & contrast

On white

4.41
#8E59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8E59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59EA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59EA#FFFFFF#000000##000000
##8E59EA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#777A99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e59ea;
/* rgb */ color: rgb(142, 89, 234);
/* oklch */ color: oklch(59.6% 0.209 296.3);
Tailwind
colors: {
  custom: {
    50: '#b58af2',
    500: '#8e59ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e59ea;
$custom-light: #b58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59ea",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 261.931,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.20897,
    "h": 296.3
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#8E59EA
secondary
#D6E9B6
accent
#DA0C8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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