#8D4EAE#8D4EAE

#8D4EAE is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.156 H 312.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D4EAE
RGBrgb(141, 78, 174)
HSLhsl(279, 38%, 49%)
HSVhsv(279, 55%, 68%)
CMYKcmyk(19%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.47, 43.27, -40.91)
CIE-LCHlch(44.47, 59.55, 316.60°)
OKLaboklab(53.95% 0.1054 -0.1145)
OKLCHoklch(53.95% 0.156 312.6)
XYZxyz(21.3476, 14.1680, 41.6463)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4EAE #6FAE4E
analogous
#5D4EAE #8D4EAE #AE4E9F
triadic
#8D4EAE #AE8D4E #4EAE8D
tetradic
#8D4EAE #AE5D4E #6FAE4E #4E9FAE
square
#8D4EAE #AE5D4E #6FAE4E #4E9FAE
split-complementary
#8D4EAE #9FAE4E #4EAE5D
monochromatic
#492859 #6B3B84 #8D4EAE #A877C2 #C3A1D5

Accessibility & contrast

On white

5.48
#8D4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4EAE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4EAE#FFFFFF#000000##FFFFFF
##8D4EAE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#8A5E76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d4eae;
/* rgb */ color: rgb(141, 78, 174);
/* oklch */ color: oklch(54.0% 0.156 312.6);
Tailwind
colors: {
  custom: {
    50: '#b182c6',
    500: '#8d4eae',
    950: '#000000',
  },
}
SCSS
$custom: #8d4eae;
$custom-light: #b182c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4eae",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 279.375,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.1556,
    "h": 312.6
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#8D4EAE
secondary
#A5C296
accent
#CE5A82
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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