#8D5CD5#8D5CD5

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

Color values

HEX#8D5CD5
RGBrgb(141, 92, 213)
HSLhsl(264, 59%, 60%)
HSVhsv(264, 57%, 84%)
CMYKcmyk(33.8%, 56.8%, 0%, 16.5%)
CIE-LABlab(49.64, 45.01, -55.25)
CIE-LCHlch(49.64, 71.26, 309.17°)
OKLaboklab(58.49% 0.0885 -0.1565)
OKLCHoklch(58.49% 0.18 299.5)
XYZxyz(26.8190, 18.1209, 65.0226)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD5 #A4D55C
analogous
#5C67D5 #8D5CD5 #CA5CD5
triadic
#8D5CD5 #D58D5C #5CD58D
tetradic
#8D5CD5 #D55C67 #A4D55C #5CD5CA
square
#8D5CD5 #D55C67 #A4D55C #5CD5CA
split-complementary
#8D5CD5 #D5CA5C #67D55C
monochromatic
#512591 #6C32C2 #8D5CD5 #AF8DE2 #D1BDEE

Accessibility & contrast

On white

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

On black

4.62
#8D5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD5#FFFFFF#000000##000000
##8D5CD51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2376D9
Deuteranopia (green-blind)
#3775D2
Tritanopia (blue-blind)
#7E7590
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5cd5;
/* rgb */ color: rgb(141, 92, 213);
/* oklch */ color: oklch(58.5% 0.180 299.5);
Tailwind
colors: {
  custom: {
    50: '#b28ce3',
    500: '#8d5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd5;
$custom-light: #b28ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd5",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 264.298,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.17978,
    "h": 299.5
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#8D5CD5
secondary
#CBDEAF
accent
#E246A3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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