#8D5DD4#8D5DD4

#8D5DD4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.177 H 299.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8D5DD4
RGBrgb(141, 93, 212)
HSLhsl(264, 58%, 60%)
HSVhsv(264, 56%, 83%)
CMYKcmyk(33.5%, 56.1%, 0%, 16.9%)
CIE-LABlab(49.79, 44.20, -54.44)
CIE-LCHlch(49.79, 70.12, 309.08°)
OKLaboklab(58.58% 0.0872 -0.1541)
OKLCHoklch(58.58% 0.177 299.5)
XYZxyz(26.7796, 18.2447, 64.3853)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DD4 #A4D45D
analogous
#5D68D4 #8D5DD4 #C95DD4
triadic
#8D5DD4 #D48D5D #5DD48D
tetradic
#8D5DD4 #D45D68 #A4D45D #5DD4C9
square
#8D5DD4 #D45D68 #A4D45D #5DD4C9
split-complementary
#8D5DD4 #D4C95D #68D45D
monochromatic
#512690 #6C33C1 #8D5DD4 #AF8DE1 #D1BEEE

Accessibility & contrast

On white

4.52
#8D5DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8D5DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DD4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DD4#FFFFFF#000000##000000
##8D5DD41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2876D8
Deuteranopia (green-blind)
#3A75D1
Tritanopia (blue-blind)
#7E7590
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5dd4;
/* rgb */ color: rgb(141, 93, 212);
/* oklch */ color: oklch(58.6% 0.177 299.5);
Tailwind
colors: {
  custom: {
    50: '#b28ce2',
    500: '#8d5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dd4;
$custom-light: #b28ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dd4",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 264.202,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.17709,
    "h": 299.5
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#8D5DD4
secondary
#CBDDAF
accent
#E147A3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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