#8D5CD8#8D5CD8

#8D5CD8 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.183 H 298.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D5CD8
RGBrgb(141, 92, 216)
HSLhsl(264, 61%, 60%)
HSVhsv(264, 57%, 85%)
CMYKcmyk(34.7%, 57.4%, 0%, 15.3%)
CIE-LABlab(49.83, 45.77, -56.66)
CIE-LCHlch(49.83, 72.83, 308.93°)
OKLaboklab(58.68% 0.0885 -0.1606)
OKLCHoklch(58.68% 0.183 298.9)
XYZxyz(27.2033, 18.2746, 67.0466)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD8 #A7D85C
analogous
#5C69D8 #8D5CD8 #CB5CD8
triadic
#8D5CD8 #D88D5C #5CD88D
tetradic
#8D5CD8 #D85C69 #A7D85C #5CD8CB
square
#8D5CD8 #D85C69 #A7D85C #5CD8CB
split-complementary
#8D5CD8 #D8CB5C #69D85C
monochromatic
#512496 #6C30C7 #8D5CD8 #B08DE4 #D2BFF0

Accessibility & contrast

On white

4.51
#8D5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D5CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD8#FFFFFF#000000##000000
##8D5CD81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DC
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#7D7691
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5cd8;
/* rgb */ color: rgb(141, 92, 216);
/* oklch */ color: oklch(58.7% 0.183 298.9);
Tailwind
colors: {
  custom: {
    50: '#b38ce5',
    500: '#8d5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd8;
$custom-light: #b38ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd8",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 263.71,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58684,
    "c": 0.1834,
    "h": 298.9
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#8D5CD8
secondary
#CDE0B0
accent
#C91C85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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