#8E59DC#8E59DC

#8E59DC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.193 H 299.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8E59DC
RGBrgb(142, 89, 220)
HSLhsl(264, 65%, 61%)
HSVhsv(264, 60%, 86%)
CMYKcmyk(35.5%, 59.5%, 0%, 13.7%)
CIE-LABlab(49.57, 48.63, -59.33)
CIE-LCHlch(49.57, 76.72, 309.34°)
OKLaboklab(58.6% 0.0933 -0.1685)
OKLCHoklch(58.6% 0.193 299)
XYZxyz(27.6428, 18.0626, 69.7263)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59DC #A7DC59
analogous
#5965DC #8E59DC #D059DC
triadic
#8E59DC #DC8E59 #59DC8E
tetradic
#8E59DC #DC5965 #A7DC59 #59DCD0
square
#8E59DC #DC5965 #A7DC59 #59DCD0
split-complementary
#8E59DC #DCD059 #65DC59
monochromatic
#52209A #6C2BCD #8E59DC #B08CE7 #D3BEF1

Accessibility & contrast

On white

4.55
#8E59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8E59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59DC#FFFFFF#000000##000000
##8E59DC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#7D7592
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e59dc;
/* rgb */ color: rgb(142, 89, 220);
/* oklch */ color: oklch(58.6% 0.193 299.0);
Tailwind
colors: {
  custom: {
    50: '#b48ae8',
    500: '#8e59dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e59dc;
$custom-light: #b48ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59dc",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 264.275,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.19259,
    "h": 299
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#8E59DC
secondary
#CDE1AF
accent
#CD1884
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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