#8E59DD#8E59DD

#8E59DD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.194 H 298.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E59DD
RGBrgb(142, 89, 221)
HSLhsl(264, 66%, 61%)
HSVhsv(264, 60%, 87%)
CMYKcmyk(35.7%, 59.7%, 0%, 13.3%)
CIE-LABlab(49.64, 48.89, -59.80)
CIE-LCHlch(49.64, 77.24, 309.27°)
OKLaboklab(58.67% 0.0933 -0.1698)
OKLCHoklch(58.67% 0.194 298.8)
XYZxyz(27.7756, 18.1157, 70.4259)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E59DD #A8DD59
analogous
#5966DD #8E59DD #D059DD
triadic
#8E59DD #DD8E59 #59DD8E
tetradic
#8E59DD #DD5966 #A8DD59 #59DDD0
square
#8E59DD #DD5966 #A8DD59 #59DDD0
split-complementary
#8E59DD #DDD059 #66DD59
monochromatic
#52209C #6C2ACF #8E59DD #B18CE7 #D3BFF2

Accessibility & contrast

On white

4.54
#8E59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8E59DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E59DD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E59DD#FFFFFF#000000##000000
##8E59DD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#7C7593
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e59dd;
/* rgb */ color: rgb(142, 89, 221);
/* oklch */ color: oklch(58.7% 0.194 298.8);
Tailwind
colors: {
  custom: {
    50: '#b48ae8',
    500: '#8e59dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e59dd;
$custom-light: #b48ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e59dd",
  "rgb": {
    "r": 142,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 264.091,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.19376,
    "h": 298.8
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#8E59DD
secondary
#CEE2B0
accent
#CE1885
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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