#8D5DD2#8D5DD2

#8D5DD2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.175 H 300.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8D5DD2
RGBrgb(141, 93, 210)
HSLhsl(265, 57%, 59%)
HSVhsv(265, 56%, 82%)
CMYKcmyk(32.9%, 55.7%, 0%, 17.6%)
CIE-LABlab(49.67, 43.70, -53.49)
CIE-LCHlch(49.67, 69.07, 309.25°)
OKLaboklab(58.45% 0.0872 -0.1513)
OKLCHoklch(58.45% 0.175 300)
XYZxyz(26.5289, 18.1444, 63.0648)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DD2 #A2D25D
analogous
#5D68D2 #8D5DD2 #C75DD2
triadic
#8D5DD2 #D28D5D #5DD28D
tetradic
#8D5DD2 #D25D68 #A2D25D #5DD2C7
square
#8D5DD2 #D25D68 #A2D25D #5DD2C7
split-complementary
#8D5DD2 #D2C75D #68D25D
monochromatic
#51278D #6D35BD #8D5DD2 #AF8DDF #D0BDED

Accessibility & contrast

On white

4.54
#8D5DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8D5DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DD2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DD2#FFFFFF#000000##000000
##8D5DD21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#3C75CF
Tritanopia (blue-blind)
#7F748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5dd2;
/* rgb */ color: rgb(141, 93, 210);
/* oklch */ color: oklch(58.5% 0.175 300.0);
Tailwind
colors: {
  custom: {
    50: '#b28ce0',
    500: '#8d5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dd2;
$custom-light: #b28ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dd2",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 264.615,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.17466,
    "h": 300
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#8D5DD2
secondary
#C9DCAF
accent
#E048A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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