#8D58E5#8D58E5

#8D58E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.0% C 0.204 H 297.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D58E5
RGBrgb(141, 88, 229)
HSLhsl(263, 73%, 62%)
HSVhsv(263, 62%, 90%)
CMYKcmyk(38.4%, 61.6%, 0%, 10.2%)
CIE-LABlab(49.86, 51.24, -63.97)
CIE-LCHlch(49.86, 81.96, 308.69°)
OKLaboklab(58.97% 0.0927 -0.1821)
OKLCHoklch(58.97% 0.204 297)
XYZxyz(28.6135, 18.2988, 76.1380)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58E5 #B0E558
analogous
#586AE5 #8D58E5 #D358E5
triadic
#8D58E5 #E58D58 #58E58D
tetradic
#8D58E5 #E5586A #B0E558 #58E5D3
square
#8D58E5 #E5586A #B0E558 #58E5D3
split-complementary
#8D58E5 #E5D358 #6AE558
monochromatic
#501AA8 #6923DD #8D58E5 #B18DED #D5C2F5

Accessibility & contrast

On white

4.51
#8D58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D58E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58E5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58E5#FFFFFF#000000##000000
##8D58E51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0B75E2
Tritanopia (blue-blind)
#787796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d58e5;
/* rgb */ color: rgb(141, 88, 229);
/* oklch */ color: oklch(59.0% 0.204 297.0);
Tailwind
colors: {
  custom: {
    50: '#b48aee',
    500: '#8d58e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d58e5;
$custom-light: #b48aee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58e5",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 262.553,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.20438,
    "h": 297
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#8D58E5
secondary
#D3E6B3
accent
#D5108B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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