#8E58ED#8E58ED

#8E58ED is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.214 H 295.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8E58ED
RGBrgb(142, 88, 237)
HSLhsl(262, 81%, 64%)
HSVhsv(262, 63%, 93%)
CMYKcmyk(40.1%, 62.9%, 0%, 7.1%)
CIE-LABlab(50.50, 53.50, -67.42)
CIE-LCHlch(50.50, 86.07, 308.43°)
OKLaboklab(59.64% 0.0935 -0.1922)
OKLCHoklch(59.64% 0.214 295.9)
XYZxyz(29.9271, 18.8440, 82.1649)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58ED #B7ED58
analogous
#586CED #8E58ED #D858ED
triadic
#8E58ED #ED8E58 #58ED8E
tetradic
#8E58ED #ED586C #B7ED58 #58EDD8
square
#8E58ED #ED586C #B7ED58 #58EDD8
split-complementary
#8E58ED #EDD858 #6CED58
monochromatic
#4F14B7 #6921E7 #8E58ED #B38FF3 #D9C6F9

Accessibility & contrast

On white

4.40
#8E58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8E58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58ED
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58ED#FFFFFF#000000##000000
##8E58ED1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#767A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e58ed;
/* rgb */ color: rgb(142, 88, 237);
/* oklch */ color: oklch(59.6% 0.214 295.9);
Tailwind
colors: {
  custom: {
    50: '#b58af4',
    500: '#8e58ed',
    950: '#000000',
  },
}
SCSS
$custom: #8e58ed;
$custom-light: #b58af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58ed",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 261.745,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59638,
    "c": 0.21375,
    "h": 295.9
  },
  "luminance": 0.18845
}

Semantic roles & 50–950 ramp

primary
#8E58ED
secondary
#D8EBB6
accent
#DD0990
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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