#8E59EC#8E59EC

#8E59EC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.211 H 296.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8E59EC
RGBrgb(142, 89, 236)
HSLhsl(262, 79%, 64%)
HSVhsv(262, 62%, 93%)
CMYKcmyk(39.8%, 62.3%, 0%, 7.5%)
CIE-LABlab(50.63, 52.72, -66.66)
CIE-LCHlch(50.63, 84.99, 308.34°)
OKLaboklab(59.71% 0.0925 -0.19)
OKLCHoklch(59.71% 0.211 296)
XYZxyz(29.8641, 18.9511, 81.4251)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59EC #B7EC59
analogous
#596DEC #8E59EC #D859EC
triadic
#8E59EC #EC8E59 #59EC8E
tetradic
#8E59EC #EC596D #B7EC59 #59ECD8
square
#8E59EC #EC596D #B7EC59 #59ECD8
split-complementary
#8E59EC #ECD859 #6DEC59
monochromatic
#4F15B6 #6922E6 #8E59EC #B390F2 #D9C7F9

Accessibility & contrast

On white

4.38
#8E59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8E59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59EC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59EC#FFFFFF#000000##000000
##8E59EC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#767A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e59ec;
/* rgb */ color: rgb(142, 89, 236);
/* oklch */ color: oklch(59.7% 0.211 296.0);
Tailwind
colors: {
  custom: {
    50: '#b58af3',
    500: '#8e59ec',
    950: '#000000',
  },
}
SCSS
$custom: #8e59ec;
$custom-light: #b58af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59ec",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 261.633,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.21129,
    "h": 296
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#8E59EC
secondary
#D8EAB6
accent
#DC0A90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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