#8D5DDC#8D5DDC

#8D5DDC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.187 H 297.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8D5DDC
RGBrgb(141, 93, 220)
HSLhsl(263, 64%, 61%)
HSVhsv(263, 58%, 86%)
CMYKcmyk(35.9%, 57.7%, 0%, 13.7%)
CIE-LABlab(50.29, 46.24, -58.19)
CIE-LCHlch(50.29, 74.33, 308.47°)
OKLaboklab(59.1% 0.0873 -0.1651)
OKLCHoklch(59.1% 0.187 297.9)
XYZxyz(27.8139, 18.6584, 69.8323)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DDC #ACDC5D
analogous
#5D6DDC #8D5DDC #CD5DDC
triadic
#8D5DDC #DC8D5D #5DDC8D
tetradic
#8D5DDC #DC5D6D #ACDC5D #5DDCCD
square
#8D5DDC #DC5D6D #ACDC5D #5DDCCD
split-complementary
#8D5DDC #DCCD5D #6DDC5D
monochromatic
#50229D #6A2DCF #8D5DDC #B08FE7 #D4C2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5DDC#FFFFFF#000000##000000
##8D5DDC1.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)
#1878E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#7B7894
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ddc;
/* rgb */ color: rgb(141, 93, 220);
/* oklch */ color: oklch(59.1% 0.187 297.9);
Tailwind
colors: {
  custom: {
    50: '#b38de8',
    500: '#8d5ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ddc;
$custom-light: #b38de8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ddc",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 262.677,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.18679,
    "h": 297.9
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#8D5DDC
secondary
#D0E2B3
accent
#CC1989
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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