#8D5CD4#8D5CD4

#8D5CD4 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.179 H 299.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D5CD4
RGBrgb(141, 92, 212)
HSLhsl(265, 58%, 60%)
HSVhsv(265, 57%, 83%)
CMYKcmyk(33.5%, 56.6%, 0%, 16.9%)
CIE-LABlab(49.58, 44.75, -54.77)
CIE-LCHlch(49.58, 70.73, 309.25°)
OKLaboklab(58.42% 0.0885 -0.1551)
OKLCHoklch(58.42% 0.179 299.7)
XYZxyz(26.6924, 18.0703, 64.3562)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD4 #A3D45C
analogous
#5C67D4 #8D5CD4 #C95CD4
triadic
#8D5CD4 #D48D5C #5CD48D
tetradic
#8D5CD4 #D45C67 #A3D45C #5CD4C9
square
#8D5CD4 #D45C67 #A3D45C #5CD4C9
split-complementary
#8D5CD4 #D4C95C #67D45C
monochromatic
#512690 #6C33C0 #8D5CD4 #AF8CE1 #D1BDEE

Accessibility & contrast

On white

4.55
#8D5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8D5CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD4#FFFFFF#000000##000000
##8D5CD41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2576D8
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#7E748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5cd4;
/* rgb */ color: rgb(141, 92, 212);
/* oklch */ color: oklch(58.4% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#b28ce2',
    500: '#8d5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd4;
$custom-light: #b28ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd4",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 264.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.17857,
    "h": 299.7
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#8D5CD4
secondary
#CADDAF
accent
#E146A2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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