#8E59EE#8E59EE

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

Color values

HEX#8E59EE
RGBrgb(142, 89, 238)
HSLhsl(261, 81%, 64%)
HSVhsv(261, 63%, 93%)
CMYKcmyk(40.3%, 62.6%, 0%, 6.7%)
CIE-LABlab(50.77, 53.24, -67.56)
CIE-LCHlch(50.77, 86.01, 308.24°)
OKLaboklab(59.85% 0.0923 -0.1926)
OKLCHoklch(59.85% 0.214 295.6)
XYZxyz(30.1563, 19.0679, 82.9640)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59EE #B9EE59
analogous
#596FEE #8E59EE #D859EE
triadic
#8E59EE #EE8E59 #59EE8E
tetradic
#8E59EE #EE596F #B9EE59 #59EED8
square
#8E59EE #EE596F #B9EE59 #59EED8
split-complementary
#8E59EE #EED859 #6FEE59
monochromatic
#4E13BA #6821E8 #8E59EE #B491F4 #DAC8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E59EE#FFFFFF#000000##000000
##8E59EE1.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)
#007AF3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#757B9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e59ee;
/* rgb */ color: rgb(142, 89, 238);
/* oklch */ color: oklch(59.9% 0.214 295.6);
Tailwind
colors: {
  custom: {
    50: '#b58af4',
    500: '#8e59ee',
    950: '#000000',
  },
}
SCSS
$custom: #8e59ee;
$custom-light: #b58af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59ee",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 261.342,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.21361,
    "h": 295.6
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#8E59EE
secondary
#D9EBB7
accent
#DE0892
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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