#A71EA8#A71EA8

#A71EA8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.221 H 327.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A71EA8
RGBrgb(167, 30, 168)
HSLhsl(300, 70%, 39%)
HSVhsv(300, 82%, 66%)
CMYKcmyk(0.6%, 82.1%, 0%, 34.1%)
CIE-LABlab(41.17, 67.24, -42.38)
CIE-LCHlch(41.17, 79.48, 327.78°)
OKLaboklab(52.24% 0.1873 -0.1177)
OKLCHoklch(52.24% 0.221 327.9)
XYZxyz(23.4682, 11.9730, 38.1132)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71EA8 #1FA81E
analogous
#621EA8 #A71EA8 #A81E64
triadic
#A71EA8 #A8A71E #1EA8A7
tetradic
#A71EA8 #A8621E #1FA81E #1E64A8
square
#A71EA8 #A8621E #1FA81E #1E64A8
split-complementary
#A71EA8 #64A81E #1EA862
monochromatic
#400B40 #731574 #A71EA8 #D82AD9 #E15EE2

Accessibility & contrast

On white

6.19
#A71EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71EA8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71EA8#FFFFFF#000000##FFFFFF
##A71EA81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#AC3865
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71ea8;
/* rgb */ color: rgb(167, 30, 168);
/* oklch */ color: oklch(52.2% 0.221 327.9);
Tailwind
colors: {
  custom: {
    50: '#c56dc2',
    500: '#a71ea8',
    950: '#000000',
  },
}
SCSS
$custom: #a71ea8;
$custom-light: #c56dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ea8",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 299.565,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.22119,
    "h": 327.9
  },
  "luminance": 0.11971
}

Semantic roles & 50–950 ramp

primary
#A71EA8
secondary
#5CC75B
accent
#ED3B3D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A71EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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