#8E58DD#8E58DD

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

Color values

HEX#8E58DD
RGBrgb(142, 88, 221)
HSLhsl(264, 66%, 61%)
HSVhsv(264, 60%, 87%)
CMYKcmyk(35.7%, 60.2%, 0%, 13.3%)
CIE-LABlab(49.44, 49.42, -60.12)
CIE-LCHlch(49.44, 77.83, 309.42°)
OKLaboklab(58.52% 0.0945 -0.1708)
OKLCHoklch(58.52% 0.195 298.9)
XYZxyz(27.6930, 17.9504, 70.3984)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58DD #A7DD58
analogous
#5864DD #8E58DD #D058DD
triadic
#8E58DD #DD8E58 #58DD8E
tetradic
#8E58DD #DD5864 #A7DD58 #58DDD0
square
#8E58DD #DD5864 #A7DD58 #58DDD0
split-complementary
#8E58DD #DDD058 #64DD58
monochromatic
#52209B #6C2ACE #8E58DD #B08BE7 #D3BEF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E58DD#FFFFFF#000000##000000
##8E58DD1.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)
#0075E1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#7C7592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e58dd;
/* rgb */ color: rgb(142, 88, 221);
/* oklch */ color: oklch(58.5% 0.195 298.9);
Tailwind
colors: {
  custom: {
    50: '#b489e8',
    500: '#8e58dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e58dd;
$custom-light: #b489e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58dd",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 264.361,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.19515,
    "h": 298.9
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#8E58DD
secondary
#CDE2AF
accent
#CE1784
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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