#A71EA9#A71EA9

#A71EA9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.222 H 327.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A71EA9
RGBrgb(167, 30, 169)
HSLhsl(299, 70%, 39%)
HSVhsv(299, 82%, 66%)
CMYKcmyk(1.2%, 82.2%, 0%, 33.7%)
CIE-LABlab(41.23, 67.40, -42.88)
CIE-LCHlch(41.23, 79.88, 327.54°)
OKLaboklab(52.3% 0.1872 -0.1192)
OKLCHoklch(52.3% 0.222 327.5)
XYZxyz(23.5617, 12.0104, 38.6057)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71EA9 #20A91E
analogous
#621EA9 #A71EA9 #A91E66
triadic
#A71EA9 #A9A71E #1EA9A7
tetradic
#A71EA9 #A9621E #20A91E #1E66A9
square
#A71EA9 #A9621E #20A91E #1E66A9
split-complementary
#A71EA9 #66A91E #1EA962
monochromatic
#400C41 #741575 #A71EA9 #D72BD9 #E15FE3

Accessibility & contrast

On white

6.17
#A71EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A71EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71EA9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71EA9#FFFFFF#000000##FFFFFF
##A71EA91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71ea9;
/* rgb */ color: rgb(167, 30, 169);
/* oklch */ color: oklch(52.3% 0.222 327.5);
Tailwind
colors: {
  custom: {
    50: '#c56dc3',
    500: '#a71ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a71ea9;
$custom-light: #c56dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ea9",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 299.137,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.22193,
    "h": 327.5
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#A71EA9
secondary
#5DC75C
accent
#ED3B3E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A71EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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