#8A41AA#8A41AA

#8A41AA is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.5% C 0.170 H 314.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A41AA
RGBrgb(138, 65, 170)
HSLhsl(282, 45%, 46%)
HSVhsv(282, 62%, 67%)
CMYKcmyk(18.8%, 61.8%, 0%, 33.3%)
CIE-LABlab(41.35, 48.32, -43.54)
CIE-LCHlch(41.35, 65.04, 317.98°)
OKLaboklab(51.52% 0.1185 -0.1222)
OKLCHoklch(51.52% 0.17 314.1)
XYZxyz(19.6260, 12.0867, 39.3215)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41AA #61AA41
analogous
#5541AA #8A41AA #AA4195
triadic
#8A41AA #AA8A41 #41AA8A
tetradic
#8A41AA #AA5541 #61AA41 #4195AA
square
#8A41AA #AA5541 #61AA41 #4195AA
split-complementary
#8A41AA #95AA41 #41AA55
monochromatic
#421F51 #66307E #8A41AA #A764C4 #C091D5

Accessibility & contrast

On white

6.15
#8A41AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A41AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41AA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41AA#FFFFFF#000000##FFFFFF
##8A41AA1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAD
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#87546F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a41aa;
/* rgb */ color: rgb(138, 65, 170);
/* oklch */ color: oklch(51.5% 0.170 314.1);
Tailwind
colors: {
  custom: {
    50: '#af7ac4',
    500: '#8a41aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a41aa;
$custom-light: #af7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41aa",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 281.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.17021,
    "h": 314.1
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#8A41AA
secondary
#98C087
accent
#D4537B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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