#A81FA6#A81FA6

#A81FA6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.219 H 328.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A81FA6
RGBrgb(168, 31, 166)
HSLhsl(301, 69%, 39%)
HSVhsv(301, 82%, 66%)
CMYKcmyk(0%, 81.5%, 1.2%, 34.1%)
CIE-LABlab(41.31, 66.88, -40.95)
CIE-LCHlch(41.31, 78.42, 328.52°)
OKLaboklab(52.33% 0.1878 -0.1135)
OKLCHoklch(52.33% 0.219 328.8)
XYZxyz(23.5212, 12.0598, 37.1579)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA6 #1FA821
analogous
#661FA8 #A81FA6 #A81F62
triadic
#A81FA6 #A6A81F #1FA6A8
tetradic
#A81FA6 #A8661F #1FA821 #1F62A8
square
#A81FA6 #A8661F #1FA821 #1F62A8
split-complementary
#A81FA6 #62A81F #1FA866
monochromatic
#410C40 #741573 #A81FA6 #D82CD6 #E260E0

Accessibility & contrast

On white

6.16
#A81FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A81FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81FA6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA6#FFFFFF#000000##FFFFFF
##A81FA61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4A67A3
Tritanopia (blue-blind)
#AE3764
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81fa6;
/* rgb */ color: rgb(168, 31, 166);
/* oklch */ color: oklch(52.3% 0.219 328.8);
Tailwind
colors: {
  custom: {
    50: '#c66ec1',
    500: '#a81fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa6;
$custom-light: #c66ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa6",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 300.876,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.21941,
    "h": 328.8
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#A81FA6
secondary
#5DC65E
accent
#EC3F3C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A81FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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