#8D5EAD#8D5EAD

#8D5EAD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.128 H 310.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D5EAD
RGBrgb(141, 94, 173)
HSLhsl(276, 33%, 52%)
HSVhsv(276, 46%, 68%)
CMYKcmyk(18.5%, 45.7%, 0%, 32.2%)
CIE-LABlab(47.86, 34.17, -34.97)
CIE-LCHlch(47.86, 48.90, 314.33°)
OKLaboklab(56.45% 0.0825 -0.0973)
OKLCHoklch(56.45% 0.128 310.3)
XYZxyz(22.5287, 16.6856, 41.5609)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EAD #7EAD5E
analogous
#665EAD #8D5EAD #AD5EA6
triadic
#8D5EAD #AD8D5E #5EAD8D
tetradic
#8D5EAD #AD665E #7EAD5E #5EA6AD
square
#8D5EAD #AD665E #7EAD5E #5EA6AD
split-complementary
#8D5EAD #A6AD5E #5EAD66
monochromatic
#4D3160 #6D4588 #8D5EAD #AA87C2 #C6AFD6

Accessibility & contrast

On white

4.84
#8D5EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8D5EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5EAD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EAD#FFFFFF#000000##FFFFFF
##8D5EAD1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#5972AB
Tritanopia (blue-blind)
#896A7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d5ead;
/* rgb */ color: rgb(141, 94, 173);
/* oklch */ color: oklch(56.5% 0.128 310.3);
Tailwind
colors: {
  custom: {
    50: '#b08dc6',
    500: '#8d5ead',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ead;
$custom-light: #b08dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ead",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 275.696,
    "s": 32.51,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.12759,
    "h": 310.3
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#8D5EAD
secondary
#B0C5A2
accent
#C95F8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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