#8E58E9#8E58E9

#8E58E9 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.209 H 296.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8E58E9
RGBrgb(142, 88, 233)
HSLhsl(262, 77%, 63%)
HSVhsv(262, 62%, 91%)
CMYKcmyk(39.1%, 62.2%, 0%, 8.6%)
CIE-LABlab(50.23, 52.47, -65.62)
CIE-LCHlch(50.23, 84.02, 308.65°)
OKLaboklab(59.35% 0.0938 -0.1869)
OKLCHoklch(59.35% 0.209 296.6)
XYZxyz(29.3492, 18.6129, 79.1213)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E58E9 #B3E958
analogous
#586AE9 #8E58E9 #D758E9
triadic
#8E58E9 #E98E58 #58E98E
tetradic
#8E58E9 #E9586A #B3E958 #58E9D7
square
#8E58E9 #E9586A #B3E958 #58E9D7
split-complementary
#8E58E9 #E9D758 #6AE958
monochromatic
#5017AF #6922E2 #8E58E9 #B38EF0 #D7C4F7

Accessibility & contrast

On white

4.45
#8E58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8E58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E58E9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E58E9#FFFFFF#000000##000000
##8E58E91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#787999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e58e9;
/* rgb */ color: rgb(142, 88, 233);
/* oklch */ color: oklch(59.4% 0.209 296.6);
Tailwind
colors: {
  custom: {
    50: '#b58af1',
    500: '#8e58e9',
    950: '#000000',
  },
}
SCSS
$custom: #8e58e9;
$custom-light: #b58af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e58e9",
  "rgb": {
    "r": 142,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 262.345,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.20914,
    "h": 296.6
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#8E58E9
secondary
#D5E8B4
accent
#D90D8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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