#8A4AAE#8A4AAE

#8A4AAE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.161 H 311.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A4AAE
RGBrgb(138, 74, 174)
HSLhsl(278, 40%, 49%)
HSVhsv(278, 57%, 68%)
CMYKcmyk(20.7%, 57.5%, 0%, 31.8%)
CIE-LABlab(43.30, 44.60, -42.81)
CIE-LCHlch(43.30, 61.82, 316.17°)
OKLaboklab(53.01% 0.1069 -0.1201)
OKLCHoklch(53.01% 0.161 311.7)
XYZxyz(20.5686, 13.3573, 41.5309)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AAE #6EAE4A
analogous
#584AAE #8A4AAE #AE4AA0
triadic
#8A4AAE #AE8A4A #4AAE8A
tetradic
#8A4AAE #AE584A #6EAE4A #4AA0AE
square
#8A4AAE #AE584A #6EAE4A #4AA0AE
split-complementary
#8A4AAE #A0AE4A #4AAE58
monochromatic
#462558 #683883 #8A4AAE #A672C3 #C19DD5

Accessibility & contrast

On white

5.72
#8A4AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A4AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AAE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AAE#FFFFFF#000000##FFFFFF
##8A4AAE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#865C75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4aae;
/* rgb */ color: rgb(138, 74, 174);
/* oklch */ color: oklch(53.0% 0.161 311.7);
Tailwind
colors: {
  custom: {
    50: '#af7fc7',
    500: '#8a4aae',
    950: '#000000',
  },
}
SCSS
$custom: #8a4aae;
$custom-light: #af7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4aae",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 278.4,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.16078,
    "h": 311.7
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#8A4AAE
secondary
#A3C292
accent
#D05883
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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