#8D5DD5#8D5DD5

#8D5DD5 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.178 H 299.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D5DD5
RGBrgb(141, 93, 213)
HSLhsl(264, 59%, 60%)
HSVhsv(264, 56%, 84%)
CMYKcmyk(33.8%, 56.3%, 0%, 16.5%)
CIE-LABlab(49.85, 44.46, -54.91)
CIE-LCHlch(49.85, 70.65, 309.00°)
OKLaboklab(58.64% 0.0873 -0.1555)
OKLCHoklch(58.64% 0.178 299.3)
XYZxyz(26.9062, 18.2953, 65.0517)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DD5 #A5D55D
analogous
#5D69D5 #8D5DD5 #C95DD5
triadic
#8D5DD5 #D58D5D #5DD58D
tetradic
#8D5DD5 #D55D69 #A5D55D #5DD5C9
square
#8D5DD5 #D55D69 #A5D55D #5DD5C9
split-complementary
#8D5DD5 #D5C95D #69D55D
monochromatic
#512692 #6C32C2 #8D5DD5 #AF8EE2 #D1BEEE

Accessibility & contrast

On white

4.51
#8D5DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D5DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DD5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DD5#FFFFFF#000000##000000
##8D5DD51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#3976D2
Tritanopia (blue-blind)
#7E7590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5dd5;
/* rgb */ color: rgb(141, 93, 213);
/* oklch */ color: oklch(58.6% 0.178 299.3);
Tailwind
colors: {
  custom: {
    50: '#b28de2',
    500: '#8d5dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dd5;
$custom-light: #b28de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dd5",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 264,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.17832,
    "h": 299.3
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#8D5DD5
secondary
#CCDEB0
accent
#E246A4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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