#8D5DCE#8D5DCE

#8D5DCE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.170 H 300.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8D5DCE
RGBrgb(141, 93, 206)
HSLhsl(265, 54%, 59%)
HSVhsv(265, 55%, 81%)
CMYKcmyk(31.6%, 54.9%, 0%, 19.2%)
CIE-LABlab(49.43, 42.69, -51.58)
CIE-LCHlch(49.43, 66.96, 309.61°)
OKLaboklab(58.2% 0.0871 -0.1457)
OKLCHoklch(58.2% 0.17 300.9)
XYZxyz(26.0368, 17.9475, 60.4731)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DCE #9ECE5D
analogous
#5D65CE #8D5DCE #C65DCE
triadic
#8D5DCE #CE8D5D #5DCE8D
tetradic
#8D5DCE #CE5D65 #9ECE5D #5DCEC6
square
#8D5DCE #CE5D65 #9ECE5D #5DCEC6
split-complementary
#8D5DCE #CEC65D #65CE5D
monochromatic
#512988 #6D37B7 #8D5DCE #AE8CDC #CFBBEA

Accessibility & contrast

On white

4.58
#8D5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8D5DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DCE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DCE#FFFFFF#000000##000000
##8D5DCE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#80738D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5dce;
/* rgb */ color: rgb(141, 93, 206);
/* oklch */ color: oklch(58.2% 0.170 300.9);
Tailwind
colors: {
  custom: {
    50: '#b28cdd',
    500: '#8d5dce',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dce;
$custom-light: #b28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dce",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 265.487,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58199,
    "c": 0.16979,
    "h": 300.9
  },
  "luminance": 0.17948
}

Semantic roles & 50–950 ramp

primary
#8D5DCE
secondary
#C7DAAD
accent
#DD4B9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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