#8D58E1#8D58E1

#8D58E1 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.200 H 297.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D58E1
RGBrgb(141, 88, 225)
HSLhsl(263, 70%, 61%)
HSVhsv(263, 61%, 88%)
CMYKcmyk(37.3%, 60.9%, 0%, 11.8%)
CIE-LABlab(49.59, 50.22, -62.14)
CIE-LCHlch(49.59, 79.90, 308.94°)
OKLaboklab(58.7% 0.093 -0.1767)
OKLCHoklch(58.7% 0.2 297.7)
XYZxyz(28.0614, 18.0780, 73.2305)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D58E1 #ACE158
analogous
#5868E1 #8D58E1 #D258E1
triadic
#8D58E1 #E18D58 #58E18D
tetradic
#8D58E1 #E15868 #ACE158 #58E1D2
square
#8D58E1 #E15868 #ACE158 #58E1D2
split-complementary
#8D58E1 #E1D258 #68E158
monochromatic
#501DA2 #6A26D5 #8D58E1 #B08CEA #D4C0F4

Accessibility & contrast

On white

4.55
#8D58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8D58E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D58E1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D58E1#FFFFFF#000000##000000
##8D58E11.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#1A74DE
Tritanopia (blue-blind)
#797694
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d58e1;
/* rgb */ color: rgb(141, 88, 225);
/* oklch */ color: oklch(58.7% 0.200 297.7);
Tailwind
colors: {
  custom: {
    50: '#b38aeb',
    500: '#8d58e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d58e1;
$custom-light: #b38aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d58e1",
  "rgb": {
    "r": 141,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 263.212,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.19971,
    "h": 297.7
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#8D58E1
secondary
#D0E4B1
accent
#D21488
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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