#A71CA4#A71CA4

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

Color values

HEX#A71CA4
RGBrgb(167, 28, 164)
HSLhsl(301, 71%, 38%)
HSVhsv(301, 83%, 65%)
CMYKcmyk(0%, 83.2%, 1.8%, 34.5%)
CIE-LABlab(40.78, 67.07, -40.61)
CIE-LCHlch(40.78, 78.40, 328.81°)
OKLaboklab(51.89% 0.1888 -0.1125)
OKLCHoklch(51.89% 0.22 329.2)
XYZxyz(23.0523, 11.7282, 36.1644)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71CA4 #1CA71F
analogous
#641CA7 #A71CA4 #A71C5E
triadic
#A71CA4 #A4A71C #1CA4A7
tetradic
#A71CA4 #A7641C #1CA71F #1C5EA7
square
#A71CA4 #A7641C #1CA71F #1C5EA7
split-complementary
#A71CA4 #5EA71C #1CA764
monochromatic
#3E0A3D #731371 #A71CA4 #DB26D7 #E35AE0

Accessibility & contrast

On white

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

On black

3.35
#A71CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A71CA4#FFFFFF#000000##FFFFFF
##A71CA41.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#AD3562
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71ca4;
/* rgb */ color: rgb(167, 28, 164);
/* oklch */ color: oklch(51.9% 0.220 329.2);
Tailwind
colors: {
  custom: {
    50: '#c56dbf',
    500: '#a71ca4',
    950: '#000000',
  },
}
SCSS
$custom: #a71ca4;
$custom-light: #c56dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ca4",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 164
  },
  "hsl": {
    "h": 301.295,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.21978,
    "h": 329.2
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#A71CA4
secondary
#58C75A
accent
#EE3E3A
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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