#A81FA9#A81FA9

#A81FA9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.222 H 327.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A81FA9
RGBrgb(168, 31, 169)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 82%, 66%)
CMYKcmyk(0.6%, 81.7%, 0%, 33.7%)
CIE-LABlab(41.49, 67.36, -42.46)
CIE-LCHlch(41.49, 79.63, 327.77°)
OKLaboklab(52.52% 0.1876 -0.1179)
OKLCHoklch(52.52% 0.222 327.8)
XYZxyz(23.7996, 12.1712, 38.6242)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA9 #20A91F
analogous
#631FA9 #A81FA9 #A91F65
triadic
#A81FA9 #A9A81F #1FA9A8
tetradic
#A81FA9 #A9631F #20A91F #1F65A9
square
#A81FA9 #A9631F #20A91F #1F65A9
split-complementary
#A81FA9 #65A91F #1FA963
monochromatic
#410C42 #751675 #A81FA9 #D72DD8 #E160E2

Accessibility & contrast

On white

6.12
#A81FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A81FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A81FA9#FFFFFF#000000##FFFFFF
##A81FA91.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)
#0057AC
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#AD3966
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a81fa9;
/* rgb */ color: rgb(168, 31, 169);
/* oklch */ color: oklch(52.5% 0.222 327.8);
Tailwind
colors: {
  custom: {
    50: '#c66ec3',
    500: '#a81fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa9;
$custom-light: #c66ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa9",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 299.565,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.22159,
    "h": 327.8
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#A81FA9
secondary
#5EC75D
accent
#EC3C3D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #A81FA9

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

Preview Lab → · Contrast checker → · Palette generator →

#A81FA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva