#8D5DD7#8D5DD7

#8D5DD7 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.181 H 298.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D5DD7
RGBrgb(141, 93, 215)
HSLhsl(264, 60%, 60%)
HSVhsv(264, 57%, 84%)
CMYKcmyk(34.4%, 56.7%, 0%, 15.7%)
CIE-LABlab(49.97, 44.97, -55.85)
CIE-LCHlch(49.97, 71.70, 308.84°)
OKLaboklab(58.77% 0.0873 -0.1583)
OKLCHoklch(58.77% 0.181 298.9)
XYZxyz(27.1616, 18.3974, 66.3969)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DD7 #A7D75D
analogous
#5D6AD7 #8D5DD7 #CA5DD7
triadic
#8D5DD7 #D78D5D #5DD78D
tetradic
#8D5DD7 #D75D6A #A7D75D #5DD7CA
square
#8D5DD7 #D75D6A #A7D75D #5DD7CA
split-complementary
#8D5DD7 #D7CA5D #6AD75D
monochromatic
#512595 #6C31C6 #8D5DD7 #B08EE3 #D2BFEF

Accessibility & contrast

On white

4.49
#8D5DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8D5DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DD7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DD7#FFFFFF#000000##000000
##8D5DD71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DB
Deuteranopia (green-blind)
#3676D4
Tritanopia (blue-blind)
#7D7691
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5dd7;
/* rgb */ color: rgb(141, 93, 215);
/* oklch */ color: oklch(58.8% 0.181 298.9);
Tailwind
colors: {
  custom: {
    50: '#b28de4',
    500: '#8d5dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dd7;
$custom-light: #b28de4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dd7",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 263.607,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.18074,
    "h": 298.9
  },
  "luminance": 0.18398
}

Semantic roles & 50–950 ramp

primary
#8D5DD7
secondary
#CDDFB1
accent
#C81D85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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