#8D5CD3#8D5CD3

#8D5CD3 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.177 H 299.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D5CD3
RGBrgb(141, 92, 211)
HSLhsl(265, 57%, 59%)
HSVhsv(265, 56%, 83%)
CMYKcmyk(33.2%, 56.4%, 0%, 17.3%)
CIE-LABlab(49.52, 44.50, -54.30)
CIE-LCHlch(49.52, 70.21, 309.34°)
OKLaboklab(58.36% 0.0885 -0.1537)
OKLCHoklch(58.36% 0.177 299.9)
XYZxyz(26.5667, 18.0200, 63.6939)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD3 #A2D35C
analogous
#5C67D3 #8D5CD3 #C95CD3
triadic
#8D5CD3 #D38D5C #5CD38D
tetradic
#8D5CD3 #D35C67 #A2D35C #5CD3C9
square
#8D5CD3 #D35C67 #A2D35C #5CD3C9
split-complementary
#8D5CD3 #D3C95C #67D35C
monochromatic
#51268E #6D33BE #8D5CD3 #AF8CE0 #D0BCED

Accessibility & contrast

On white

4.56
#8D5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D5CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD3#FFFFFF#000000##000000
##8D5CD31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D7
Deuteranopia (green-blind)
#3975D0
Tritanopia (blue-blind)
#7E748F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5cd3;
/* rgb */ color: rgb(141, 92, 211);
/* oklch */ color: oklch(58.4% 0.177 299.9);
Tailwind
colors: {
  custom: {
    50: '#b28ce1',
    500: '#8d5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd3;
$custom-light: #b28ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd3",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 264.706,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.17736,
    "h": 299.9
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#8D5CD3
secondary
#C9DDAE
accent
#E147A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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