#8E59DA#8E59DA

#8E59DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.190 H 299.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8E59DA
RGBrgb(142, 89, 218)
HSLhsl(265, 64%, 60%)
HSVhsv(265, 59%, 85%)
CMYKcmyk(34.9%, 59.2%, 0%, 14.5%)
CIE-LABlab(49.44, 48.13, -58.40)
CIE-LCHlch(49.44, 75.68, 309.49°)
OKLaboklab(58.47% 0.0934 -0.1657)
OKLCHoklch(58.47% 0.19 299.4)
XYZxyz(27.3795, 17.9572, 68.3397)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59DA #A5DA59
analogous
#5964DA #8E59DA #CE59DA
triadic
#8E59DA #DA8E59 #59DA8E
tetradic
#8E59DA #DA5964 #A5DA59 #59DACE
square
#8E59DA #DA5964 #A5DA59 #59DACE
split-complementary
#8E59DA #DACE59 #64DA59
monochromatic
#522297 #6D2DC9 #8E59DA #B08BE5 #D2BDF0

Accessibility & contrast

On white

4.57
#8E59DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8E59DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59DA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59DA#FFFFFF#000000##000000
##8E59DA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0975DE
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#7D7491
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e59da;
/* rgb */ color: rgb(142, 89, 218);
/* oklch */ color: oklch(58.5% 0.190 299.4);
Tailwind
colors: {
  custom: {
    50: '#b48ae6',
    500: '#8e59da',
    950: '#000000',
  },
}
SCSS
$custom: #8e59da;
$custom-light: #b48ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59da",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 264.651,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.19023,
    "h": 299.4
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#8E59DA
secondary
#CCE0AF
accent
#CB1A83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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