#8D58EB#8D58EB

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

Color values

HEX#8D58EB
RGBrgb(141, 88, 235)
HSLhsl(262, 79%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(40%, 62.6%, 0%, 7.8%)
CIE-LABlab(50.26, 52.78, -66.69)
CIE-LCHlch(50.26, 85.05, 308.36°)
OKLaboklab(59.4% 0.0923 -0.1901)
OKLCHoklch(59.4% 0.211 295.9)
XYZxyz(29.4657, 18.6397, 80.6265)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58EB #B6EB58
analogous
#586CEB #8D58EB #D758EB
triadic
#8D58EB #EB8D58 #58EB8D
tetradic
#8D58EB #EB586C #B6EB58 #58EBD7
square
#8D58EB #EB586C #B6EB58 #58EBD7
split-complementary
#8D58EB #EBD758 #6CEB58
monochromatic
#4E15B3 #6821E4 #8D58EB #B28FF2 #D8C5F8

Accessibility & contrast

On white

4.44
#8D58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8D58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58EB#FFFFFF#000000##000000
##8D58EB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d58eb;
/* rgb */ color: rgb(141, 88, 235);
/* oklch */ color: oklch(59.4% 0.211 295.9);
Tailwind
colors: {
  custom: {
    50: '#b48af2',
    500: '#8d58eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d58eb;
$custom-light: #b48af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58eb",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 261.633,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.21135,
    "h": 295.9
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#8D58EB
secondary
#D7EAB5
accent
#DB0B90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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