#8D5DEC#8D5DEC

#8D5DEC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.206 H 294.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5DEC
RGBrgb(141, 93, 236)
HSLhsl(260, 79%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(40.3%, 60.6%, 0%, 7.5%)
CIE-LABlab(51.32, 50.39, -65.54)
CIE-LCHlch(51.32, 82.67, 307.55°)
OKLaboklab(60.19% 0.0868 -0.1867)
OKLCHoklch(60.19% 0.206 294.9)
XYZxyz(30.0352, 19.5469, 81.5311)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DEC #BCEC5D
analogous
#5D75EC #8D5DEC #D55DEC
triadic
#8D5DEC #EC8D5D #5DEC8D
tetradic
#8D5DEC #EC5D75 #BCEC5D #5DECD5
square
#8D5DEC #EC5D75 #BCEC5D #5DECD5
split-complementary
#8D5DEC #ECD55D #75EC5D
monochromatic
#4C16B9 #6626E6 #8D5DEC #B494F2 #DACBF9

Accessibility & contrast

On white

4.28
#8D5DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8D5DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DEC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DEC#FFFFFF#000000##000000
##8D5DEC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#0378E9
Tritanopia (blue-blind)
#747D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5dec;
/* rgb */ color: rgb(141, 93, 236);
/* oklch */ color: oklch(60.2% 0.206 294.9);
Tailwind
colors: {
  custom: {
    50: '#b48df3',
    500: '#8d5dec',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dec;
$custom-light: #b48df3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dec",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 260.14,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.20592,
    "h": 294.9
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#8D5DEC
secondary
#DBEBBA
accent
#DB0A95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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