#8D59EA#8D59EA

#8D59EA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.209 H 295.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D59EA
RGBrgb(141, 89, 234)
HSLhsl(262, 78%, 63%)
HSVhsv(262, 62%, 92%)
CMYKcmyk(39.7%, 62%, 0%, 8.2%)
CIE-LABlab(50.39, 52.00, -65.93)
CIE-LCHlch(50.39, 83.96, 308.26°)
OKLaboklab(59.47% 0.0913 -0.1879)
OKLCHoklch(59.47% 0.209 295.9)
XYZxyz(29.4043, 18.7474, 79.8953)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59EA #B6EA59
analogous
#596DEA #8D59EA #D559EA
triadic
#8D59EA #EA8D59 #59EA8D
tetradic
#8D59EA #EA596D #B6EA59 #59EAD5
square
#8D59EA #EA596D #B6EA59 #59EAD5
split-complementary
#8D59EA #EAD559 #6DEA59
monochromatic
#4E17B2 #6823E3 #8D59EA #B28FF1 #D8C6F8

Accessibility & contrast

On white

4.42
#8D59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8D59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D59EA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59EA#FFFFFF#000000##000000
##8D59EA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#767A99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d59ea;
/* rgb */ color: rgb(141, 89, 234);
/* oklch */ color: oklch(59.5% 0.209 295.9);
Tailwind
colors: {
  custom: {
    50: '#b48af2',
    500: '#8d59ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d59ea;
$custom-light: #b48af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59ea",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 261.517,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.20888,
    "h": 295.9
  },
  "luminance": 0.18748
}

Semantic roles & 50–950 ramp

primary
#8D59EA
secondary
#D7E9B6
accent
#DA0C90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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