#8D4FA4#8D4FA4

#8D4FA4 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.5% C 0.143 H 316.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8D4FA4
RGBrgb(141, 79, 164)
HSLhsl(284, 35%, 48%)
HSVhsv(284, 52%, 64%)
CMYKcmyk(14%, 51.8%, 0%, 35.7%)
CIE-LABlab(44.14, 40.53, -35.53)
CIE-LCHlch(44.14, 53.90, 318.76°)
OKLaboklab(53.54% 0.1031 -0.0988)
OKLCHoklch(53.54% 0.143 316.2)
XYZxyz(20.4803, 13.9357, 36.7258)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FA4 #66A44F
analogous
#634FA4 #8D4FA4 #A44F90
triadic
#8D4FA4 #A48D4F #4FA48D
tetradic
#8D4FA4 #A4634F #66A44F #4F90A4
square
#8D4FA4 #A4634F #66A44F #4F90A4
split-complementary
#8D4FA4 #90A44F #4FA463
monochromatic
#462751 #693B7B #8D4FA4 #A974BC #C29DD0

Accessibility & contrast

On white

5.55
#8D4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8D4FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FA4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FA4#FFFFFF#000000##FFFFFF
##8D4FA41.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A7
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#8C5C72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4fa4;
/* rgb */ color: rgb(141, 79, 164);
/* oklch */ color: oklch(53.5% 0.143 316.2);
Tailwind
colors: {
  custom: {
    50: '#b083bf',
    500: '#8d4fa4',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fa4;
$custom-light: #b083bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fa4",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 283.765,
    "s": 34.979,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53535,
    "c": 0.14279,
    "h": 316.2
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#8D4FA4
secondary
#9EBD92
accent
#CB5D7B
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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