#8D4EA4#8D4EA4

#8D4EA4 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.4% C 0.144 H 316.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8D4EA4
RGBrgb(141, 78, 164)
HSLhsl(284, 36%, 47%)
HSVhsv(284, 52%, 64%)
CMYKcmyk(14%, 52.4%, 0%, 35.7%)
CIE-LABlab(43.93, 41.07, -35.86)
CIE-LCHlch(43.93, 54.52, 318.88°)
OKLaboklab(53.38% 0.1045 -0.0998)
OKLCHoklch(53.38% 0.144 316.3)
XYZxyz(20.4087, 13.7925, 36.7019)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EA4 #65A44E
analogous
#624EA4 #8D4EA4 #A44E90
triadic
#8D4EA4 #A48D4E #4EA48D
tetradic
#8D4EA4 #A4624E #65A44E #4E90A4
square
#8D4EA4 #A4624E #65A44E #4E90A4
split-complementary
#8D4EA4 #90A44E #4EA462
monochromatic
#462751 #693A7B #8D4EA4 #A973BC #C29CD0

Accessibility & contrast

On white

5.59
#8D4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8D4EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EA4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EA4#FFFFFF#000000##FFFFFF
##8D4EA41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#8C5B72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4ea4;
/* rgb */ color: rgb(141, 78, 164);
/* oklch */ color: oklch(53.4% 0.144 316.3);
Tailwind
colors: {
  custom: {
    50: '#b082bf',
    500: '#8d4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ea4;
$custom-light: #b082bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ea4",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 283.953,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.14447,
    "h": 316.3
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#8D4EA4
secondary
#9DBD91
accent
#CC5C7A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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