#A71EA4#A71EA4

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

Color values

HEX#A71EA4
RGBrgb(167, 30, 164)
HSLhsl(301, 70%, 39%)
HSVhsv(301, 82%, 65%)
CMYKcmyk(0%, 82%, 1.8%, 34.5%)
CIE-LABlab(40.94, 66.61, -40.36)
CIE-LCHlch(40.94, 77.88, 328.79°)
OKLaboklab(52% 0.1875 -0.1118)
OKLCHoklch(52% 0.218 329.2)
XYZxyz(23.1013, 11.8262, 36.1807)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71EA4 #1EA721
analogous
#651EA7 #A71EA4 #A71E5F
triadic
#A71EA4 #A4A71E #1EA4A7
tetradic
#A71EA4 #A7651E #1EA721 #1E5FA7
square
#A71EA4 #A7651E #1EA721 #1E5FA7
split-complementary
#A71EA4 #5FA71E #1EA765
monochromatic
#3F0B3E #731571 #A71EA4 #D92AD5 #E25DDF

Accessibility & contrast

On white

6.24
#A71EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A71EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71EA4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71EA4#FFFFFF#000000##FFFFFF
##A71EA41.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71ea4;
/* rgb */ color: rgb(167, 30, 164);
/* oklch */ color: oklch(52.0% 0.218 329.2);
Tailwind
colors: {
  custom: {
    50: '#c56dbf',
    500: '#a71ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a71ea4;
$custom-light: #c56dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ea4",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 164
  },
  "hsl": {
    "h": 301.314,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52,
    "c": 0.21829,
    "h": 329.2
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#A71EA4
secondary
#5BC65D
accent
#EC3F3B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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