#A81FA3#A81FA3

#A81FA3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.217 H 329.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A81FA3
RGBrgb(168, 31, 163)
HSLhsl(302, 69%, 39%)
HSVhsv(302, 82%, 66%)
CMYKcmyk(0%, 81.5%, 3%, 34.1%)
CIE-LABlab(41.14, 66.41, -39.43)
CIE-LCHlch(41.14, 77.24, 329.30°)
OKLaboklab(52.16% 0.1879 -0.1091)
OKLCHoklch(52.16% 0.217 329.9)
XYZxyz(23.2492, 11.9510, 35.7255)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA3 #1FA824
analogous
#691FA8 #A81FA3 #A81F5F
triadic
#A81FA3 #A3A81F #1FA3A8
tetradic
#A81FA3 #A8691F #1FA824 #1F5FA8
square
#A81FA3 #A8691F #1FA824 #1F5FA8
split-complementary
#A81FA3 #5FA81F #1FA869
monochromatic
#410C3F #741571 #A81FA3 #D82CD2 #E260DD

Accessibility & contrast

On white

6.20
#A81FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A81FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81FA3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA3#FFFFFF#000000##FFFFFF
##A81FA31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#AE3562
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a81fa3;
/* rgb */ color: rgb(168, 31, 163);
/* oklch */ color: oklch(52.2% 0.217 329.9);
Tailwind
colors: {
  custom: {
    50: '#c66ebf',
    500: '#a81fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa3;
$custom-light: #c66ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa3",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 163
  },
  "hsl": {
    "h": 302.19,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.21724,
    "h": 329.9
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A81FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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