#A71EA1#A71EA1

#A71EA1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.216 H 330.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A71EA1
RGBrgb(167, 30, 161)
HSLhsl(303, 70%, 39%)
HSVhsv(303, 82%, 65%)
CMYKcmyk(0%, 82%, 3.6%, 34.5%)
CIE-LABlab(40.77, 66.14, -38.83)
CIE-LCHlch(40.77, 76.70, 329.58°)
OKLaboklab(51.82% 0.1876 -0.1074)
OKLCHoklch(51.82% 0.216 330.2)
XYZxyz(22.8336, 11.7191, 34.7707)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71EA1 #1EA724
analogous
#681EA7 #A71EA1 #A71E5C
triadic
#A71EA1 #A1A71E #1EA1A7
tetradic
#A71EA1 #A7681E #1EA724 #1E5CA7
square
#A71EA1 #A7681E #1EA724 #1E5CA7
split-complementary
#A71EA1 #5CA71E #1EA768
monochromatic
#3F0B3D #73156F #A71EA1 #D92AD1 #E25DDC

Accessibility & contrast

On white

6.28
#A71EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A71EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71EA1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71EA1#FFFFFF#000000##FFFFFF
##A71EA11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A4
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#AD3461
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71ea1;
/* rgb */ color: rgb(167, 30, 161);
/* oklch */ color: oklch(51.8% 0.216 330.2);
Tailwind
colors: {
  custom: {
    50: '#c56dbd',
    500: '#a71ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a71ea1;
$custom-light: #c56dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ea1",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 302.628,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.21614,
    "h": 330.2
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#A71EA1
secondary
#5BC65F
accent
#EC433B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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