#8E59CA#8E59CA

#8E59CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.171 H 303.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8E59CA
RGBrgb(142, 89, 202)
HSLhsl(268, 52%, 57%)
HSVhsv(268, 56%, 79%)
CMYKcmyk(29.7%, 55.9%, 0%, 20.8%)
CIE-LABlab(48.46, 44.15, -50.84)
CIE-LCHlch(48.46, 67.33, 310.97°)
OKLaboklab(57.43% 0.0934 -0.1435)
OKLCHoklch(57.43% 0.171 303)
XYZxyz(25.3860, 17.1598, 57.8404)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59CA #95CA59
analogous
#595DCA #8E59CA #C759CA
triadic
#8E59CA #CA8E59 #59CA8E
tetradic
#8E59CA #CA595D #95CA59 #59CAC7
square
#8E59CA #CA595D #95CA59 #59CAC7
split-complementary
#8E59CA #CAC759 #5DCA59
monochromatic
#522980 #6F38AE #8E59CA #AE87D9 #CDB6E8

Accessibility & contrast

On white

4.74
#8E59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8E59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E59CA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59CA#FFFFFF#000000##FFFFFF
##8E59CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#836F89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e59ca;
/* rgb */ color: rgb(142, 89, 202);
/* oklch */ color: oklch(57.4% 0.171 303.0);
Tailwind
colors: {
  custom: {
    50: '#b28adb',
    500: '#8e59ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e59ca;
$custom-light: #b28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59ca",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 268.142,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.17122,
    "h": 303
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#8E59CA
secondary
#C1D6A8
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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