#8E59E7#8E59E7

#8E59E7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.205 H 296.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8E59E7
RGBrgb(142, 89, 231)
HSLhsl(262, 75%, 63%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.5%, 61.5%, 0%, 9.4%)
CIE-LABlab(50.29, 51.43, -64.39)
CIE-LCHlch(50.29, 82.41, 308.62°)
OKLaboklab(59.36% 0.0928 -0.1833)
OKLCHoklch(59.36% 0.205 296.9)
XYZxyz(29.1478, 18.6646, 77.6528)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59E7 #B2E759
analogous
#596BE7 #8E59E7 #D559E7
triadic
#8E59E7 #E78E59 #59E78E
tetradic
#8E59E7 #E7596B #B2E759 #59E7D5
square
#8E59E7 #E7596B #B2E759 #59E7D5
split-complementary
#8E59E7 #E7D559 #6BE759
monochromatic
#5019AD #6A24DF #8E59E7 #B28EEF #D7C4F6

Accessibility & contrast

On white

4.44
#8E59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8E59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59E7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59E7#FFFFFF#000000##000000
##8E59E71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#0A76E4
Tritanopia (blue-blind)
#787998
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e59e7;
/* rgb */ color: rgb(142, 89, 231);
/* oklch */ color: oklch(59.4% 0.205 296.9);
Tailwind
colors: {
  custom: {
    50: '#b58aef',
    500: '#8e59e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e59e7;
$custom-light: #b58aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59e7",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 262.394,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.20548,
    "h": 296.9
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#8E59E7
secondary
#D4E8B4
accent
#D70F8C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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