#8D5DCD#8D5DCD

#8D5DCD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.169 H 301.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8D5DCD
RGBrgb(141, 93, 205)
HSLhsl(266, 53%, 58%)
HSVhsv(266, 55%, 80%)
CMYKcmyk(31.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(49.37, 42.44, -51.11)
CIE-LCHlch(49.37, 66.43, 309.71°)
OKLaboklab(58.14% 0.0871 -0.1443)
OKLCHoklch(58.14% 0.169 301.1)
XYZxyz(25.9157, 17.8991, 59.8353)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DCD #9DCD5D
analogous
#5D65CD #8D5DCD #C55DCD
triadic
#8D5DCD #CD8D5D #5DCD8D
tetradic
#8D5DCD #CD5D65 #9DCD5D #5DCDC5
square
#8D5DCD #CD5D65 #9DCD5D #5DCDC5
split-complementary
#8D5DCD #CDC55D #65CD5D
monochromatic
#512986 #6D38B5 #8D5DCD #AE8CDB #CFBBEA

Accessibility & contrast

On white

4.59
#8D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8D5DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5DCD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DCD#FFFFFF#000000##FFFFFF
##8D5DCD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#80738C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5dcd;
/* rgb */ color: rgb(141, 93, 205);
/* oklch */ color: oklch(58.1% 0.169 301.1);
Tailwind
colors: {
  custom: {
    50: '#b28cdd',
    500: '#8d5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dcd;
$custom-light: #b28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dcd",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 265.714,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.16856,
    "h": 301.1
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#8D5DCD
secondary
#C6D9AD
accent
#DC4C9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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