#A71FA5#A71FA5

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

Color values

HEX#A71FA5
RGBrgb(167, 31, 165)
HSLhsl(301, 69%, 39%)
HSVhsv(301, 81%, 65%)
CMYKcmyk(0%, 81.4%, 1.2%, 34.5%)
CIE-LABlab(41.08, 66.53, -40.73)
CIE-LCHlch(41.08, 78.01, 328.52°)
OKLaboklab(52.12% 0.1868 -0.1129)
OKLCHoklch(52.12% 0.218 328.8)
XYZxyz(23.2177, 11.9139, 36.6668)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA5 #1FA721
analogous
#651FA7 #A71FA5 #A71F61
triadic
#A71FA5 #A5A71F #1FA5A7
tetradic
#A71FA5 #A7651F #1FA721 #1F61A7
square
#A71FA5 #A7651F #1FA721 #1F61A7
split-complementary
#A71FA5 #61A71F #1FA765
monochromatic
#400C3F #731572 #A71FA5 #D82BD5 #E15FDF

Accessibility & contrast

On white

6.21
#A71FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71FA5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA5#FFFFFF#000000##FFFFFF
##A71FA51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71fa5;
/* rgb */ color: rgb(167, 31, 165);
/* oklch */ color: oklch(52.1% 0.218 328.8);
Tailwind
colors: {
  custom: {
    50: '#c56ec0',
    500: '#a71fa5',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa5;
$custom-light: #c56ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa5",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 300.882,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.21824,
    "h": 328.8
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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