#8D5EA5#8D5EA5

#8D5EA5 is a mid, moderate violet. Relative luminance 0.164; OKLCH L 56.0% C 0.118 H 313.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D5EA5
RGBrgb(141, 94, 165)
HSLhsl(280, 28%, 51%)
HSVhsv(280, 43%, 65%)
CMYKcmyk(14.5%, 43%, 0%, 35.3%)
CIE-LABlab(47.48, 32.35, -30.88)
CIE-LCHlch(47.48, 44.73, 316.33°)
OKLaboklab(56.04% 0.0811 -0.0855)
OKLCHoklch(56.04% 0.118 313.5)
XYZxyz(21.7776, 16.3852, 37.6055)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EA5 #76A55E
analogous
#695EA5 #8D5EA5 #A55E99
triadic
#8D5EA5 #A58D5E #5EA58D
tetradic
#8D5EA5 #A5695E #76A55E #5E99A5
square
#8D5EA5 #A5695E #76A55E #5E99A5
split-complementary
#8D5EA5 #99A55E #5EA569
monochromatic
#4B3158 #6C477F #8D5EA5 #A985BB #C5ADD1

Accessibility & contrast

On white

4.91
#8D5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8D5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5EA5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EA5#FFFFFF#000000##FFFFFF
##8D5EA51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#8B687A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5ea5;
/* rgb */ color: rgb(141, 94, 165);
/* oklch */ color: oklch(56.0% 0.118 313.5);
Tailwind
colors: {
  custom: {
    50: '#af8cc0',
    500: '#8d5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ea5;
$custom-light: #af8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ea5",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 279.718,
    "s": 28.287,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.11786,
    "h": 313.5
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

primary
#8D5EA5
secondary
#AABFA0
accent
#C56384
background
#FAF8FB
surface
#F5F0F7
border
#CFCBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8D5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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