#8A41AC#8A41AC

#8A41AC is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.6% C 0.172 H 313.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A41AC
RGBrgb(138, 65, 172)
HSLhsl(281, 45%, 46%)
HSVhsv(281, 62%, 67%)
CMYKcmyk(19.8%, 62.2%, 0%, 32.5%)
CIE-LABlab(41.47, 48.75, -44.53)
CIE-LCHlch(41.47, 66.03, 317.59°)
OKLaboklab(51.64% 0.1185 -0.1251)
OKLCHoklch(51.64% 0.172 313.5)
XYZxyz(19.8167, 12.1630, 40.3255)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41AC #63AC41
analogous
#5541AC #8A41AC #AC4199
triadic
#8A41AC #AC8A41 #41AC8A
tetradic
#8A41AC #AC5541 #63AC41 #4199AC
square
#8A41AC #AC5541 #63AC41 #4199AC
split-complementary
#8A41AC #99AC41 #41AC55
monochromatic
#431F53 #663080 #8A41AC #A765C5 #C092D6

Accessibility & contrast

On white

6.12
#8A41AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A41AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41AC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41AC#FFFFFF#000000##FFFFFF
##8A41AC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EAF
Deuteranopia (green-blind)
#3C64A9
Tritanopia (blue-blind)
#875570
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a41ac;
/* rgb */ color: rgb(138, 65, 172);
/* oklch */ color: oklch(51.6% 0.172 313.5);
Tailwind
colors: {
  custom: {
    50: '#af7ac5',
    500: '#8a41ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a41ac;
$custom-light: #af7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41ac",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 280.935,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.17231,
    "h": 313.5
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#8A41AC
secondary
#9AC188
accent
#D5537C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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