#8E58EB#8E58EB

#8E58EB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.211 H 296.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8E58EB
RGBrgb(142, 88, 235)
HSLhsl(262, 79%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(39.6%, 62.6%, 0%, 7.8%)
CIE-LABlab(50.37, 52.99, -66.52)
CIE-LCHlch(50.37, 85.04, 308.54°)
OKLaboklab(59.5% 0.0936 -0.1896)
OKLCHoklch(59.5% 0.211 296.3)
XYZxyz(29.6365, 18.7278, 80.6345)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58EB #B5EB58
analogous
#586BEB #8E58EB #D858EB
triadic
#8E58EB #EB8E58 #58EB8E
tetradic
#8E58EB #EB586B #B5EB58 #58EBD8
square
#8E58EB #EB586B #B5EB58 #58EBD8
split-complementary
#8E58EB #EBD858 #6BEB58
monochromatic
#4F15B3 #6921E4 #8E58EB #B38FF2 #D8C5F8

Accessibility & contrast

On white

4.43
#8E58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8E58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58EB#FFFFFF#000000##000000
##8E58EB1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#77799A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8e58eb;
/* rgb */ color: rgb(142, 88, 235);
/* oklch */ color: oklch(59.5% 0.211 296.3);
Tailwind
colors: {
  custom: {
    50: '#b58af2',
    500: '#8e58eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e58eb;
$custom-light: #b58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58eb",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 262.041,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.21145,
    "h": 296.3
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#8E58EB
secondary
#D6EAB5
accent
#DB0B8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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