#A71FA9#A71FA9

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

Color values

HEX#A71FA9
RGBrgb(167, 31, 169)
HSLhsl(299, 69%, 39%)
HSVhsv(299, 82%, 66%)
CMYKcmyk(1.2%, 81.7%, 0%, 33.7%)
CIE-LABlab(41.31, 67.16, -42.75)
CIE-LCHlch(41.31, 79.61, 327.52°)
OKLaboklab(52.36% 0.1866 -0.1188)
OKLCHoklch(52.36% 0.221 327.5)
XYZxyz(23.5874, 12.0618, 38.6142)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA9 #21A91F
analogous
#621FA9 #A71FA9 #A91F66
triadic
#A71FA9 #A9A71F #1FA9A7
tetradic
#A71FA9 #A9621F #21A91F #1F66A9
square
#A71FA9 #A9621F #21A91F #1F66A9
split-complementary
#A71FA9 #66A91F #1FA962
monochromatic
#410C42 #741675 #A71FA9 #D62DD8 #E060E2

Accessibility & contrast

On white

6.15
#A71FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A71FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71FA9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA9#FFFFFF#000000##FFFFFF
##A71FA91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#AC3966
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71fa9;
/* rgb */ color: rgb(167, 31, 169);
/* oklch */ color: oklch(52.4% 0.221 327.5);
Tailwind
colors: {
  custom: {
    50: '#c56ec3',
    500: '#a71fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa9;
$custom-light: #c56ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa9",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 299.13,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.22116,
    "h": 327.5
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#A71FA9
secondary
#5FC75D
accent
#EC3C3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A71FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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