#A71FA4#A71FA4

#A71FA4 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.218 H 329.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A71FA4
RGBrgb(167, 31, 164)
HSLhsl(301, 69%, 39%)
HSVhsv(301, 81%, 65%)
CMYKcmyk(0%, 81.4%, 1.8%, 34.5%)
CIE-LABlab(41.02, 66.37, -40.23)
CIE-LCHlch(41.02, 77.61, 328.78°)
OKLaboklab(52.06% 0.1868 -0.1114)
OKLCHoklch(52.06% 0.218 329.2)
XYZxyz(23.1270, 11.8776, 36.1893)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA4 #1FA722
analogous
#661FA7 #A71FA4 #A71F60
triadic
#A71FA4 #A4A71F #1FA4A7
tetradic
#A71FA4 #A7661F #1FA722 #1F60A7
square
#A71FA4 #A7661F #1FA722 #1F60A7
split-complementary
#A71FA4 #60A71F #1FA766
monochromatic
#400C3F #731571 #A71FA4 #D82BD4 #E15FDE

Accessibility & contrast

On white

6.22
#A71FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A71FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71FA4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA4#FFFFFF#000000##FFFFFF
##A71FA41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#AD3663
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71fa4;
/* rgb */ color: rgb(167, 31, 164);
/* oklch */ color: oklch(52.1% 0.218 329.2);
Tailwind
colors: {
  custom: {
    50: '#c56dbf',
    500: '#a71fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa4;
$custom-light: #c56dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa4",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 164
  },
  "hsl": {
    "h": 301.324,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.21751,
    "h": 329.2
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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