#8D4EA2#8D4EA2

#8D4EA2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.3% C 0.142 H 317.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8D4EA2
RGBrgb(141, 78, 162)
HSLhsl(285, 35%, 47%)
HSVhsv(285, 52%, 64%)
CMYKcmyk(13%, 51.9%, 0%, 36.5%)
CIE-LABlab(43.83, 40.64, -34.83)
CIE-LCHlch(43.83, 53.52, 319.40°)
OKLaboklab(53.27% 0.1043 -0.0968)
OKLCHoklch(53.27% 0.142 317.1)
XYZxyz(20.2295, 13.7208, 35.7582)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EA2 #63A24E
analogous
#634EA2 #8D4EA2 #A24E8D
triadic
#8D4EA2 #A28D4E #4EA28D
tetradic
#8D4EA2 #A2634E #63A24E #4E8DA2
square
#8D4EA2 #A2634E #63A24E #4E8DA2
split-complementary
#8D4EA2 #8DA24E #4EA263
monochromatic
#45264F #693A79 #8D4EA2 #A972BB #C29BCF

Accessibility & contrast

On white

5.61
#8D4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8D4EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EA2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EA2#FFFFFF#000000##FFFFFF
##8D4EA21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#506AA0
Tritanopia (blue-blind)
#8C5A71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4ea2;
/* rgb */ color: rgb(141, 78, 162);
/* oklch */ color: oklch(53.3% 0.142 317.1);
Tailwind
colors: {
  custom: {
    50: '#b082be',
    500: '#8d4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ea2;
$custom-light: #b082be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ea2",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.14227,
    "h": 317.1
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#8D4EA2
secondary
#9BBC90
accent
#CB5D78
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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