#8E59E1#8E59E1

#8E59E1 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.198 H 298.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8E59E1
RGBrgb(142, 89, 225)
HSLhsl(263, 69%, 62%)
HSVhsv(263, 60%, 88%)
CMYKcmyk(36.9%, 60.4%, 0%, 11.8%)
CIE-LABlab(49.90, 49.90, -61.64)
CIE-LCHlch(49.90, 79.31, 308.99°)
OKLaboklab(58.94% 0.0931 -0.1752)
OKLCHoklch(58.94% 0.198 298)
XYZxyz(28.3149, 18.3314, 73.2661)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59E1 #ACE159
analogous
#5968E1 #8E59E1 #D259E1
triadic
#8E59E1 #E18E59 #59E18E
tetradic
#8E59E1 #E15968 #ACE159 #59E1D2
square
#8E59E1 #E15968 #ACE159 #59E1D2
split-complementary
#8E59E1 #E1D259 #68E159
monochromatic
#511DA2 #6B27D6 #8E59E1 #B18DEA #D5C1F4

Accessibility & contrast

On white

4.50
#8E59E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8E59E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59E1#FFFFFF#000000##000000
##8E59E11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#1F75DE
Tritanopia (blue-blind)
#7B7795
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e59e1;
/* rgb */ color: rgb(142, 89, 225);
/* oklch */ color: oklch(58.9% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#b48aeb',
    500: '#8e59e1',
    950: '#000000',
  },
}
SCSS
$custom: #8e59e1;
$custom-light: #b48aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59e1",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 263.382,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.19846,
    "h": 298
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#8E59E1
secondary
#D0E4B2
accent
#D11488
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E59E1

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

Preview Lab → · Contrast checker → · Palette generator →

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