#8A4AAA#8A4AAA

#8A4AAA is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.8% C 0.156 H 313.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A4AAA
RGBrgb(138, 74, 170)
HSLhsl(280, 39%, 48%)
HSVhsv(280, 56%, 67%)
CMYKcmyk(18.8%, 56.5%, 0%, 33.3%)
CIE-LABlab(43.07, 43.70, -40.81)
CIE-LCHlch(43.07, 59.79, 316.96°)
OKLaboklab(52.77% 0.1067 -0.1142)
OKLCHoklch(52.77% 0.156 313.1)
XYZxyz(20.1845, 13.2036, 39.5077)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AAA #6AAA4A
analogous
#5A4AAA #8A4AAA #AA4A9A
triadic
#8A4AAA #AA8A4A #4AAA8A
tetradic
#8A4AAA #AA5A4A #6AAA4A #4A9AAA
square
#8A4AAA #AA5A4A #6AAA4A #4A9AAA
split-complementary
#8A4AAA #9AAA4A #4AAA5A
monochromatic
#452555 #67377F #8A4AAA #A670C1 #C19BD3

Accessibility & contrast

On white

5.77
#8A4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8A4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AAA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AAA#FFFFFF#000000##FFFFFF
##8A4AAA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#4667A8
Tritanopia (blue-blind)
#875A73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4aaa;
/* rgb */ color: rgb(138, 74, 170);
/* oklch */ color: oklch(52.8% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#af7fc4',
    500: '#8a4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8a4aaa;
$custom-light: #af7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4aaa",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 280,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.15634,
    "h": 313.1
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#8A4AAA
secondary
#A0C090
accent
#CF5980
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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