#8D5DC3#8D5DC3

#8D5DC3 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.156 H 303.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D5DC3
RGBrgb(141, 93, 195)
HSLhsl(268, 46%, 56%)
HSVhsv(268, 52%, 76%)
CMYKcmyk(27.7%, 52.3%, 0%, 23.5%)
CIE-LABlab(48.80, 39.97, -46.27)
CIE-LCHlch(48.80, 61.14, 310.82°)
OKLaboklab(57.53% 0.0865 -0.1302)
OKLCHoklch(57.53% 0.156 303.6)
XYZxyz(24.7470, 17.4316, 53.6801)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DC3 #93C35D
analogous
#5D60C3 #8D5DC3 #C05DC3
triadic
#8D5DC3 #C38D5D #5DC38D
tetradic
#8D5DC3 #C35D60 #93C35D #5DC3C0
square
#8D5DC3 #C35D60 #93C35D #5DC3C0
split-complementary
#8D5DC3 #C3C05D #60C35D
monochromatic
#512D79 #6E3DA6 #8D5DC3 #AC8AD4 #CCB6E4

Accessibility & contrast

On white

4.68
#8D5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8D5DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5DC3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DC3#FFFFFF#000000##FFFFFF
##8D5DC31.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C6
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#837087
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5dc3;
/* rgb */ color: rgb(141, 93, 195);
/* oklch */ color: oklch(57.5% 0.156 303.6);
Tailwind
colors: {
  custom: {
    50: '#b18cd6',
    500: '#8d5dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dc3;
$custom-light: #b18cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dc3",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 268.235,
    "s": 45.946,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.15631,
    "h": 303.6
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#8D5DC3
secondary
#BFD3A9
accent
#D65298
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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