#8E59EB#8E59EB

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

Color values

HEX#8E59EB
RGBrgb(142, 89, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(39.6%, 62.1%, 0%, 7.8%)
CIE-LABlab(50.56, 52.46, -66.21)
CIE-LCHlch(50.56, 84.47, 308.39°)
OKLaboklab(59.64% 0.0925 -0.1887)
OKLCHoklch(59.64% 0.21 296.1)
XYZxyz(29.7192, 18.8931, 80.6621)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59EB #B6EB59
analogous
#596DEB #8E59EB #D759EB
triadic
#8E59EB #EB8E59 #59EB8E
tetradic
#8E59EB #EB596D #B6EB59 #59EBD7
square
#8E59EB #EB596D #B6EB59 #59EBD7
split-complementary
#8E59EB #EBD759 #6DEB59
monochromatic
#4F16B4 #6922E4 #8E59EB #B390F2 #D8C6F8

Accessibility & contrast

On white

4.39
#8E59EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E59EB#FFFFFF#000000##000000
##8E59EB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#777A9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e59eb;
/* rgb */ color: rgb(142, 89, 235);
/* oklch */ color: oklch(59.6% 0.210 296.1);
Tailwind
colors: {
  custom: {
    50: '#b58af2',
    500: '#8e59eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e59eb;
$custom-light: #b58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59eb",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 261.781,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.21013,
    "h": 296.1
  },
  "luminance": 0.18894
}

Semantic roles & 50–950 ramp

primary
#8E59EB
secondary
#D7EAB6
accent
#DB0B8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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