#8D5DCA#8D5DCA

#8D5DCA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.165 H 301.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D5DCA
RGBrgb(141, 93, 202)
HSLhsl(266, 51%, 58%)
HSVhsv(266, 54%, 79%)
CMYKcmyk(30.2%, 54%, 0%, 20.8%)
CIE-LABlab(49.20, 41.69, -49.67)
CIE-LCHlch(49.20, 64.85, 310.01°)
OKLaboklab(57.95% 0.0869 -0.1401)
OKLCHoklch(57.95% 0.165 301.8)
XYZxyz(25.5571, 17.7556, 57.9464)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DCA #9ACA5D
analogous
#5D63CA #8D5DCA #C45DCA
triadic
#8D5DCA #CA8D5D #5DCA8D
tetradic
#8D5DCA #CA5D63 #9ACA5D #5DCAC4
square
#8D5DCA #CA5D63 #9ACA5D #5DCAC4
split-complementary
#8D5DCA #CAC45D #63CA5D
monochromatic
#512B82 #6E3AB0 #8D5DCA #AD8BD9 #CEB9E8

Accessibility & contrast

On white

4.61
#8D5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D5DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5DCA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DCA#FFFFFF#000000##FFFFFF
##8D5DCA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#81728B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5dca;
/* rgb */ color: rgb(141, 93, 202);
/* oklch */ color: oklch(58.0% 0.165 301.8);
Tailwind
colors: {
  custom: {
    50: '#b18cdb',
    500: '#8d5dca',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dca;
$custom-light: #b18cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dca",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 266.422,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.1649,
    "h": 301.8
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#8D5DCA
secondary
#C4D7AC
accent
#DA4E9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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