#A81FA8#A81FA8

#A81FA8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.5% C 0.221 H 328.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A81FA8
RGBrgb(168, 31, 168)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 82%, 66%)
CMYKcmyk(0%, 81.5%, 0%, 34.1%)
CIE-LABlab(41.43, 67.20, -41.96)
CIE-LCHlch(41.43, 79.22, 328.02°)
OKLaboklab(52.46% 0.1877 -0.1165)
OKLCHoklch(52.46% 0.221 328.2)
XYZxyz(23.7060, 12.1338, 38.1317)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA8 #1FA81F
analogous
#641FA8 #A81FA8 #A81F64
triadic
#A81FA8 #A8A81F #1FA8A8
tetradic
#A81FA8 #A8641F #1FA81F #1F64A8
square
#A81FA8 #A8641F #1FA81F #1F64A8
split-complementary
#A81FA8 #64A81F #1FA864
monochromatic
#410C41 #741574 #A81FA8 #D82CD8 #E260E2

Accessibility & contrast

On white

6.13
#A81FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A81FA8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA8#FFFFFF#000000##FFFFFF
##A81FA81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#AE3865
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a81fa8;
/* rgb */ color: rgb(168, 31, 168);
/* oklch */ color: oklch(52.5% 0.221 328.2);
Tailwind
colors: {
  custom: {
    50: '#c66ec2',
    500: '#a81fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa8;
$custom-light: #c66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa8",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 300,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52455,
    "c": 0.22086,
    "h": 328.2
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#A81FA8
secondary
#5DC65D
accent
#EC3C3C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #A81FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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