#8D5EA3#8D5EA3

#8D5EA3 is a mid, moderate purple. Relative luminance 0.163; OKLCH L 55.9% C 0.115 H 314.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D5EA3
RGBrgb(141, 94, 163)
HSLhsl(281, 27%, 50%)
HSVhsv(281, 42%, 64%)
CMYKcmyk(13.5%, 42.3%, 0%, 36.1%)
CIE-LABlab(47.38, 31.91, -29.85)
CIE-LCHlch(47.38, 43.69, 316.91°)
OKLaboklab(55.94% 0.0808 -0.0825)
OKLCHoklch(55.94% 0.115 314.4)
XYZxyz(21.5970, 16.3130, 36.6542)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EA3 #74A35E
analogous
#6A5EA3 #8D5EA3 #A35E96
triadic
#8D5EA3 #A38D5E #5EA38D
tetradic
#8D5EA3 #A36A5E #74A35E #5E96A3
square
#8D5EA3 #A36A5E #74A35E #5E96A3
split-complementary
#8D5EA3 #96A35E #5EA36A
monochromatic
#4A3156 #6C477D #8D5EA3 #A985B9 #C4ACD0

Accessibility & contrast

On white

4.93
#8D5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8D5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5EA3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EA3#FFFFFF#000000##FFFFFF
##8D5EA31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526EA6
Deuteranopia (green-blind)
#5D72A1
Tritanopia (blue-blind)
#8C6879
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d5ea3;
/* rgb */ color: rgb(141, 94, 163);
/* oklch */ color: oklch(55.9% 0.115 314.4);
Tailwind
colors: {
  custom: {
    50: '#af8cbe',
    500: '#8d5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ea3;
$custom-light: #af8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ea3",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 280.87,
    "s": 27.273,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.11545,
    "h": 314.4
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#8D5EA3
secondary
#A9BE9F
accent
#C46483
background
#FAF8FB
surface
#F5F0F7
border
#CFCBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8D5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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