#8A4EAE#8A4EAE

#8A4EAE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.154 H 311.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A4EAE
RGBrgb(138, 78, 174)
HSLhsl(278, 38%, 49%)
HSVhsv(278, 55%, 68%)
CMYKcmyk(20.7%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.10, 42.46, -41.53)
CIE-LCHlch(44.10, 59.40, 315.64°)
OKLaboklab(53.6% 0.1015 -0.1164)
OKLCHoklch(53.6% 0.154 311.1)
XYZxyz(20.8442, 13.9085, 41.6227)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EAE #72AE4E
analogous
#5A4EAE #8A4EAE #AE4EA2
triadic
#8A4EAE #AE8A4E #4EAE8A
tetradic
#8A4EAE #AE5A4E #72AE4E #4EA2AE
square
#8A4EAE #AE5A4E #72AE4E #4EA2AE
split-complementary
#8A4EAE #A2AE4E #4EAE5A
monochromatic
#472859 #683B84 #8A4EAE #A677C2 #C2A1D5

Accessibility & contrast

On white

5.55
#8A4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4EAE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EAE#FFFFFF#000000##FFFFFF
##8A4EAE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#4769AC
Tritanopia (blue-blind)
#865F76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4eae;
/* rgb */ color: rgb(138, 78, 174);
/* oklch */ color: oklch(53.6% 0.154 311.1);
Tailwind
colors: {
  custom: {
    50: '#af82c6',
    500: '#8a4eae',
    950: '#000000',
  },
}
SCSS
$custom: #8a4eae;
$custom-light: #af82c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4eae",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 277.5,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.536,
    "c": 0.15443,
    "h": 311.1
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#8A4EAE
secondary
#A6C296
accent
#CE5A85
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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