#A71EA7#A71EA7

#A71EA7 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.220 H 328.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A71EA7
RGBrgb(167, 30, 167)
HSLhsl(300, 70%, 39%)
HSVhsv(300, 82%, 65%)
CMYKcmyk(0%, 82%, 0%, 34.5%)
CIE-LABlab(41.11, 67.08, -41.87)
CIE-LCHlch(41.11, 79.08, 328.03°)
OKLaboklab(52.18% 0.1873 -0.1162)
OKLCHoklch(52.18% 0.22 328.2)
XYZxyz(23.3754, 11.9358, 37.6244)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71EA7 #1EA71E
analogous
#621EA7 #A71EA7 #A71E62
triadic
#A71EA7 #A7A71E #1EA7A7
tetradic
#A71EA7 #A7621E #1EA71E #1E62A7
square
#A71EA7 #A7621E #1EA71E #1E62A7
split-complementary
#A71EA7 #62A71E #1EA762
monochromatic
#3F0B3F #731573 #A71EA7 #D92AD9 #E25DE2

Accessibility & contrast

On white

6.20
#A71EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A71EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71EA7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71EA7#FFFFFF#000000##FFFFFF
##A71EA71.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#AC3764
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71ea7;
/* rgb */ color: rgb(167, 30, 167);
/* oklch */ color: oklch(52.2% 0.220 328.2);
Tailwind
colors: {
  custom: {
    50: '#c56dc2',
    500: '#a71ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a71ea7;
$custom-light: #c56dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ea7",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 300,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.22046,
    "h": 328.2
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#A71EA7
secondary
#5BC65B
accent
#EC3B3B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A71EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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