#A81FA5#A81FA5

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

Color values

HEX#A81FA5
RGBrgb(168, 31, 165)
HSLhsl(301, 69%, 39%)
HSVhsv(301, 82%, 66%)
CMYKcmyk(0%, 81.5%, 1.8%, 34.1%)
CIE-LABlab(41.25, 66.73, -40.45)
CIE-LCHlch(41.25, 78.03, 328.78°)
OKLaboklab(52.28% 0.1878 -0.1121)
OKLCHoklch(52.28% 0.219 329.2)
XYZxyz(23.4298, 12.0233, 36.6767)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA5 #1FA822
analogous
#671FA8 #A81FA5 #A81F61
triadic
#A81FA5 #A5A81F #1FA5A8
tetradic
#A81FA5 #A8671F #1FA822 #1F61A8
square
#A81FA5 #A8671F #1FA822 #1F61A8
split-complementary
#A81FA5 #61A81F #1FA867
monochromatic
#410C40 #741572 #A81FA5 #D82CD4 #E260DF

Accessibility & contrast

On white

6.17
#A81FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A81FA5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA5#FFFFFF#000000##FFFFFF
##A81FA51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4B67A2
Tritanopia (blue-blind)
#AE3763
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81fa5;
/* rgb */ color: rgb(168, 31, 165);
/* oklch */ color: oklch(52.3% 0.219 329.2);
Tailwind
colors: {
  custom: {
    50: '#c66ec0',
    500: '#a81fa5',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa5;
$custom-light: #c66ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa5",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 301.314,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.21868,
    "h": 329.2
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#A81FA5
secondary
#5DC65F
accent
#EC403C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A81FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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