#A81FA1#A81FA1

#A81FA1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.216 H 330.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A81FA1
RGBrgb(168, 31, 161)
HSLhsl(303, 69%, 39%)
HSVhsv(303, 82%, 66%)
CMYKcmyk(0%, 81.5%, 4.2%, 34.1%)
CIE-LABlab(41.02, 66.10, -38.41)
CIE-LCHlch(41.02, 76.45, 329.84°)
OKLaboklab(52.04% 0.1879 -0.1061)
OKLCHoklch(52.04% 0.216 330.5)
XYZxyz(23.0714, 11.8799, 34.7892)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA1 #1FA826
analogous
#6B1FA8 #A81FA1 #A81F5D
triadic
#A81FA1 #A1A81F #1FA1A8
tetradic
#A81FA1 #A86B1F #1FA826 #1F5DA8
square
#A81FA1 #A86B1F #1FA826 #1F5DA8
split-complementary
#A81FA1 #5DA81F #1FA86B
monochromatic
#410C3E #74156F #A81FA1 #D82CCF #E260DB

Accessibility & contrast

On white

6.22
#A81FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A81FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81FA1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA1#FFFFFF#000000##FFFFFF
##A81FA11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0355A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#AF3461
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81fa1;
/* rgb */ color: rgb(168, 31, 161);
/* oklch */ color: oklch(52.0% 0.216 330.5);
Tailwind
colors: {
  custom: {
    50: '#c66dbd',
    500: '#a81fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa1;
$custom-light: #c66dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa1",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 303.066,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.2158,
    "h": 330.5
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#A81FA1
secondary
#5DC662
accent
#EC453C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A81FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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