#A71EA6#A71EA6

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

Color values

HEX#A71EA6
RGBrgb(167, 30, 166)
HSLhsl(300, 70%, 39%)
HSVhsv(300, 82%, 65%)
CMYKcmyk(0%, 82%, 0.6%, 34.5%)
CIE-LABlab(41.06, 66.92, -41.37)
CIE-LCHlch(41.06, 78.68, 328.28°)
OKLaboklab(52.12% 0.1874 -0.1148)
OKLCHoklch(52.12% 0.22 328.5)
XYZxyz(23.2833, 11.8990, 37.1394)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71EA6 #1EA71F
analogous
#631EA7 #A71EA6 #A71E61
triadic
#A71EA6 #A6A71E #1EA6A7
tetradic
#A71EA6 #A7631E #1EA71F #1E61A7
square
#A71EA6 #A7631E #1EA71F #1E61A7
split-complementary
#A71EA6 #61A71E #1EA763
monochromatic
#3F0B3F #731572 #A71EA6 #D92AD7 #E25DE1

Accessibility & contrast

On white

6.21
#A71EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A71EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71EA6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71EA6#FFFFFF#000000##FFFFFF
##A71EA61.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#AD3764
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71ea6;
/* rgb */ color: rgb(167, 30, 166);
/* oklch */ color: oklch(52.1% 0.220 328.5);
Tailwind
colors: {
  custom: {
    50: '#c56dc1',
    500: '#a71ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a71ea6;
$custom-light: #c56dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ea6",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 300.438,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.21973,
    "h": 328.5
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#A71EA6
secondary
#5BC65B
accent
#EC3D3B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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