#8D4EA6#8D4EA6

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

Color values

HEX#8D4EA6
RGBrgb(141, 78, 166)
HSLhsl(283, 36%, 48%)
HSVhsv(283, 53%, 65%)
CMYKcmyk(15.1%, 53%, 0%, 34.9%)
CIE-LABlab(44.04, 41.51, -36.88)
CIE-LCHlch(44.04, 55.52, 318.38°)
OKLaboklab(53.49% 0.1047 -0.1027)
OKLCHoklch(53.49% 0.147 315.5)
XYZxyz(20.5908, 13.8653, 37.6606)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EA6 #67A64E
analogous
#614EA6 #8D4EA6 #A64E93
triadic
#8D4EA6 #A68D4E #4EA68D
tetradic
#8D4EA6 #A6614E #67A64E #4E93A6
square
#8D4EA6 #A6614E #67A64E #4E93A6
split-complementary
#8D4EA6 #93A64E #4EA661
monochromatic
#462753 #6A3A7C #8D4EA6 #A974BE #C29DD1

Accessibility & contrast

On white

5.57
#8D4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8D4EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EA6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EA6#FFFFFF#000000##FFFFFF
##8D4EA61.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#8C5C72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d4ea6;
/* rgb */ color: rgb(141, 78, 166);
/* oklch */ color: oklch(53.5% 0.147 315.5);
Tailwind
colors: {
  custom: {
    50: '#b082c1',
    500: '#8d4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4ea6;
$custom-light: #b082c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4ea6",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 282.955,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.14668,
    "h": 315.5
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#8D4EA6
secondary
#9EBE92
accent
#CC5C7C
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8D4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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