#8E59E5#8E59E5

#8E59E5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.203 H 297.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E59E5
RGBrgb(142, 89, 229)
HSLhsl(263, 73%, 62%)
HSVhsv(263, 61%, 90%)
CMYKcmyk(38%, 61.1%, 0%, 10.2%)
CIE-LABlab(50.16, 50.92, -63.48)
CIE-LCHlch(50.16, 81.38, 308.74°)
OKLaboklab(59.22% 0.0929 -0.1806)
OKLCHoklch(59.22% 0.203 297.2)
XYZxyz(28.8670, 18.5522, 76.1736)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59E5 #B0E559
analogous
#596AE5 #8E59E5 #D459E5
triadic
#8E59E5 #E58E59 #59E58E
tetradic
#8E59E5 #E5596A #B0E559 #59E5D4
square
#8E59E5 #E5596A #B0E559 #59E5D4
split-complementary
#8E59E5 #E5D459 #6AE559
monochromatic
#501AA9 #6A24DD #8E59E5 #B28EED #D6C3F6

Accessibility & contrast

On white

4.46
#8E59E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E59E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59E5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59E5#FFFFFF#000000##000000
##8E59E51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#1376E2
Tritanopia (blue-blind)
#797897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e59e5;
/* rgb */ color: rgb(142, 89, 229);
/* oklch */ color: oklch(59.2% 0.203 297.2);
Tailwind
colors: {
  custom: {
    50: '#b48aee',
    500: '#8e59e5',
    950: '#000000',
  },
}
SCSS
$custom: #8e59e5;
$custom-light: #b48aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59e5",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 262.714,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59217,
    "c": 0.20314,
    "h": 297.2
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#8E59E5
secondary
#D3E6B3
accent
#D5108B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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