#8D5BCD#8D5BCD

#8D5BCD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.172 H 301.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D5BCD
RGBrgb(141, 91, 205)
HSLhsl(266, 53%, 58%)
HSVhsv(266, 56%, 80%)
CMYKcmyk(31.2%, 55.6%, 0%, 19.6%)
CIE-LABlab(48.95, 43.55, -51.78)
CIE-LCHlch(48.95, 67.66, 310.06°)
OKLaboklab(57.82% 0.0896 -0.1463)
OKLCHoklch(57.82% 0.172 301.5)
XYZxyz(25.7425, 17.5526, 59.7776)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BCD #9BCD5B
analogous
#5B62CD #8D5BCD #C65BCD
triadic
#8D5BCD #CD8D5B #5BCD8D
tetradic
#8D5BCD #CD5B62 #9BCD5B #5BCDC6
square
#8D5BCD #CD5B62 #9BCD5B #5BCDC6
split-complementary
#8D5BCD #CDC65B #62CD5B
monochromatic
#512985 #6E37B4 #8D5BCD #AE8ADB #CEB9EA

Accessibility & contrast

On white

4.66
#8D5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8D5BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BCD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BCD#FFFFFF#000000##FFFFFF
##8D5BCD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#80718B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5bcd;
/* rgb */ color: rgb(141, 91, 205);
/* oklch */ color: oklch(57.8% 0.172 301.5);
Tailwind
colors: {
  custom: {
    50: '#b28bdd',
    500: '#8d5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bcd;
$custom-light: #b28bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bcd",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 266.316,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.17159,
    "h": 301.5
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#8D5BCD
secondary
#C5D9AB
accent
#DD4B9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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