#8D4EAB#8D4EAB

#8D4EAB is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.8% C 0.152 H 313.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D4EAB
RGBrgb(141, 78, 171)
HSLhsl(281, 37%, 49%)
HSVhsv(281, 54%, 67%)
CMYKcmyk(17.5%, 54.4%, 0%, 32.9%)
CIE-LABlab(44.31, 42.60, -39.41)
CIE-LCHlch(44.31, 58.03, 317.23°)
OKLaboklab(53.78% 0.1052 -0.1101)
OKLCHoklch(53.78% 0.152 313.7)
XYZxyz(21.0584, 14.0523, 40.1232)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EAB #6CAB4E
analogous
#5F4EAB #8D4EAB #AB4E9B
triadic
#8D4EAB #AB8D4E #4EAB8D
tetradic
#8D4EAB #AB5F4E #6CAB4E #4E9BAB
square
#8D4EAB #AB5F4E #6CAB4E #4E9BAB
split-complementary
#8D4EAB #9BAB4E #4EAB5F
monochromatic
#482857 #6A3B81 #8D4EAB #A876C0 #C3A0D4

Accessibility & contrast

On white

5.51
#8D4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8D4EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EAB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EAB#FFFFFF#000000##FFFFFF
##8D4EAB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#4B6AA9
Tritanopia (blue-blind)
#8A5D75
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4eab;
/* rgb */ color: rgb(141, 78, 171);
/* oklch */ color: oklch(53.8% 0.152 313.7);
Tailwind
colors: {
  custom: {
    50: '#b182c4',
    500: '#8d4eab',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eab;
$custom-light: #b182c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eab",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 280.645,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.15224,
    "h": 313.7
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#8D4EAB
secondary
#A3C194
accent
#CD5A80
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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