#8D5CDD#8D5CDD

#8D5CDD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.189 H 297.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D5CDD
RGBrgb(141, 92, 221)
HSLhsl(263, 65%, 61%)
HSVhsv(263, 58%, 87%)
CMYKcmyk(36.2%, 58.4%, 0%, 13.3%)
CIE-LABlab(50.14, 47.04, -58.99)
CIE-LCHlch(50.14, 75.45, 308.57°)
OKLaboklab(59.01% 0.0885 -0.1675)
OKLCHoklch(59.01% 0.189 297.8)
XYZxyz(27.8595, 18.5371, 70.5028)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CDD #ACDD5C
analogous
#5C6CDD #8D5CDD #CE5CDD
triadic
#8D5CDD #DD8D5C #5CDD8D
tetradic
#8D5CDD #DD5C6C #ACDD5C #5CDDCE
square
#8D5CDD #DD5C6C #ACDD5C #5CDDCE
split-complementary
#8D5CDD #DDCE5C #6CDD5C
monochromatic
#50219E #6A2BD0 #8D5CDD #B08FE8 #D4C1F2

Accessibility & contrast

On white

4.46
#8D5CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8D5CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CDD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CDD#FFFFFF#000000##000000
##8D5CDD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1078E1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#7B7794
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5cdd;
/* rgb */ color: rgb(141, 92, 221);
/* oklch */ color: oklch(59.0% 0.189 297.8);
Tailwind
colors: {
  custom: {
    50: '#b38ce8',
    500: '#8d5cdd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cdd;
$custom-light: #b38ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cdd",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 262.791,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.18941,
    "h": 297.8
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#8D5CDD
secondary
#D0E3B2
accent
#CD1889
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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