#8D5FA4#8D5FA4

#8D5FA4 is a mid, moderate purple. Relative luminance 0.165; OKLCH L 56.2% C 0.115 H 313.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D5FA4
RGBrgb(141, 95, 164)
HSLhsl(280, 27%, 51%)
HSVhsv(280, 42%, 64%)
CMYKcmyk(14%, 42.1%, 0%, 35.7%)
CIE-LABlab(47.66, 31.56, -30.01)
CIE-LCHlch(47.66, 43.55, 316.44°)
OKLaboklab(56.16% 0.0794 -0.083)
OKLCHoklch(56.16% 0.115 313.8)
XYZxyz(21.7765, 16.5279, 37.1578)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FA4 #76A45F
analogous
#6A5FA4 #8D5FA4 #A45F98
triadic
#8D5FA4 #A48D5F #5FA48D
tetradic
#8D5FA4 #A46A5F #76A45F #5F98A4
square
#8D5FA4 #A46A5F #76A45F #5F98A4
split-complementary
#8D5FA4 #98A45F #5FA46A
monochromatic
#4B3257 #6C487E #8D5FA4 #A986BA #C5ADD0

Accessibility & contrast

On white

4.88
#8D5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5FA4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FA4#FFFFFF#000000##FFFFFF
##8D5FA41.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526EA7
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#8B697A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5fa4;
/* rgb */ color: rgb(141, 95, 164);
/* oklch */ color: oklch(56.2% 0.115 313.8);
Tailwind
colors: {
  custom: {
    50: '#af8dbf',
    500: '#8d5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fa4;
$custom-light: #af8dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fa4",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 280,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.11486,
    "h": 313.8
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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