#A81FA4#A81FA4

#A81FA4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.218 H 329.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A81FA4
RGBrgb(168, 31, 164)
HSLhsl(302, 69%, 39%)
HSVhsv(302, 82%, 66%)
CMYKcmyk(0%, 81.5%, 2.4%, 34.1%)
CIE-LABlab(41.20, 66.57, -39.94)
CIE-LCHlch(41.20, 77.63, 329.04°)
OKLaboklab(52.22% 0.1878 -0.1106)
OKLCHoklch(52.22% 0.218 329.5)
XYZxyz(23.3391, 11.9870, 36.1992)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA4 #1FA823
analogous
#681FA8 #A81FA4 #A81F60
triadic
#A81FA4 #A4A81F #1FA4A8
tetradic
#A81FA4 #A8681F #1FA823 #1F60A8
square
#A81FA4 #A8681F #1FA823 #1F60A8
split-complementary
#A81FA4 #60A81F #1FA868
monochromatic
#410C3F #741572 #A81FA4 #D82CD3 #E260DE

Accessibility & contrast

On white

6.18
#A81FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A81FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81FA4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA4#FFFFFF#000000##FFFFFF
##A81FA41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#AE3663
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81fa4;
/* rgb */ color: rgb(168, 31, 164);
/* oklch */ color: oklch(52.2% 0.218 329.5);
Tailwind
colors: {
  custom: {
    50: '#c66ebf',
    500: '#a81fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa4;
$custom-light: #c66ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa4",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 301.752,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.21796,
    "h": 329.5
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#A81FA4
secondary
#5DC660
accent
#EC413C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A81FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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