#8E58DC#8E58DC

#8E58DC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.194 H 299.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8E58DC
RGBrgb(142, 88, 220)
HSLhsl(265, 65%, 60%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(35.5%, 60%, 0%, 13.7%)
CIE-LABlab(49.37, 49.17, -59.66)
CIE-LCHlch(49.37, 77.31, 309.49°)
OKLaboklab(58.46% 0.0945 -0.1694)
OKLCHoklch(58.46% 0.194 299.2)
XYZxyz(27.5601, 17.8973, 69.6988)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58DC #A6DC58
analogous
#5864DC #8E58DC #D058DC
triadic
#8E58DC #DC8E58 #58DC8E
tetradic
#8E58DC #DC5864 #A6DC58 #58DCD0
square
#8E58DC #DC5864 #A6DC58 #58DCD0
split-complementary
#8E58DC #DCD058 #64DC58
monochromatic
#522099 #6D2BCC #8E58DC #B08BE7 #D2BDF1

Accessibility & contrast

On white

4.59
#8E58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8E58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E58DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58DC#FFFFFF#000000##FFFFFF
##8E58DC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#7D7492
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e58dc;
/* rgb */ color: rgb(142, 88, 220);
/* oklch */ color: oklch(58.5% 0.194 299.2);
Tailwind
colors: {
  custom: {
    50: '#b489e8',
    500: '#8e58dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e58dc;
$custom-light: #b489e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58dc",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 264.545,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.19398,
    "h": 299.2
  },
  "luminance": 0.17898
}

Semantic roles & 50–950 ramp

primary
#8E58DC
secondary
#CCE1AF
accent
#CD1883
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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