#8D5CCD#8D5CCD

#8D5CCD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.170 H 301.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D5CCD
RGBrgb(141, 92, 205)
HSLhsl(266, 53%, 58%)
HSVhsv(266, 55%, 80%)
CMYKcmyk(31.2%, 55.1%, 0%, 19.6%)
CIE-LABlab(49.16, 43.00, -51.45)
CIE-LCHlch(49.16, 67.05, 309.89°)
OKLaboklab(57.98% 0.0883 -0.1453)
OKLCHoklch(57.98% 0.17 301.3)
XYZxyz(25.8285, 17.7247, 59.8062)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CCD #9CCD5C
analogous
#5C63CD #8D5CCD #C65CCD
triadic
#8D5CCD #CD8D5C #5CCD8D
tetradic
#8D5CCD #CD5C63 #9CCD5C #5CCDC6
square
#8D5CCD #CD5C63 #9CCD5C #5CCDC6
split-complementary
#8D5CCD #CDC65C #63CD5C
monochromatic
#512986 #6E37B4 #8D5CCD #AE8BDB #CFBAEA

Accessibility & contrast

On white

4.62
#8D5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CCD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CCD#FFFFFF#000000##FFFFFF
##8D5CCD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#80728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5ccd;
/* rgb */ color: rgb(141, 92, 205);
/* oklch */ color: oklch(58.0% 0.170 301.3);
Tailwind
colors: {
  custom: {
    50: '#b28cdd',
    500: '#8d5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ccd;
$custom-light: #b28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ccd",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 266.018,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.17008,
    "h": 301.3
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#8D5CCD
secondary
#C5D9AC
accent
#DC4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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