#A81FA7#A81FA7

#A81FA7 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.220 H 328.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A81FA7
RGBrgb(168, 31, 167)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 82%, 66%)
CMYKcmyk(0%, 81.5%, 0.6%, 34.1%)
CIE-LABlab(41.37, 67.04, -41.46)
CIE-LCHlch(41.37, 78.82, 328.27°)
OKLaboklab(52.39% 0.1877 -0.115)
OKLCHoklch(52.39% 0.22 328.5)
XYZxyz(23.6132, 12.0966, 37.6429)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81FA7 #1FA820
analogous
#651FA8 #A81FA7 #A81F63
triadic
#A81FA7 #A7A81F #1FA7A8
tetradic
#A81FA7 #A8651F #1FA820 #1F63A8
square
#A81FA7 #A8651F #1FA820 #1F63A8
split-complementary
#A81FA7 #63A81F #1FA865
monochromatic
#410C40 #741574 #A81FA7 #D82CD7 #E260E1

Accessibility & contrast

On white

6.14
#A81FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A81FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A81FA7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81FA7#FFFFFF#000000##FFFFFF
##A81FA71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4968A4
Tritanopia (blue-blind)
#AE3864
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a81fa7;
/* rgb */ color: rgb(168, 31, 167);
/* oklch */ color: oklch(52.4% 0.220 328.5);
Tailwind
colors: {
  custom: {
    50: '#c66ec2',
    500: '#a81fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a81fa7;
$custom-light: #c66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a81fa7",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 300.438,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.22013,
    "h": 328.5
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A81FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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