#8A4DAE#8A4DAE

#8A4DAE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.156 H 311.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A4DAE
RGBrgb(138, 77, 174)
HSLhsl(278, 39%, 49%)
HSVhsv(278, 56%, 68%)
CMYKcmyk(20.7%, 55.7%, 0%, 31.8%)
CIE-LABlab(43.90, 43.00, -41.85)
CIE-LCHlch(43.90, 60.01, 315.78°)
OKLaboklab(53.45% 0.1029 -0.1173)
OKLCHoklch(53.45% 0.156 311.3)
XYZxyz(20.7737, 13.7675, 41.5992)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DAE #71AE4D
analogous
#5A4DAE #8A4DAE #AE4DA2
triadic
#8A4DAE #AE8A4D #4DAE8A
tetradic
#8A4DAE #AE5A4D #71AE4D #4DA2AE
square
#8A4DAE #AE5A4D #71AE4D #4DA2AE
split-complementary
#8A4DAE #A2AE4D #4DAE5A
monochromatic
#472759 #683A84 #8A4DAE #A676C2 #C2A0D5

Accessibility & contrast

On white

5.59
#8A4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A4DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DAE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DAE#FFFFFF#000000##FFFFFF
##8A4DAE1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#865E76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4dae;
/* rgb */ color: rgb(138, 77, 174);
/* oklch */ color: oklch(53.4% 0.156 311.3);
Tailwind
colors: {
  custom: {
    50: '#af81c7',
    500: '#8a4dae',
    950: '#000000',
  },
}
SCSS
$custom: #8a4dae;
$custom-light: #af81c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4dae",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 277.732,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.15604,
    "h": 311.3
  },
  "luminance": 0.13767
}

Semantic roles & 50–950 ramp

primary
#8A4DAE
secondary
#A6C295
accent
#CF5985
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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