#A71CA5#A71CA5

#A71CA5 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.221 H 328.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A71CA5
RGBrgb(167, 28, 165)
HSLhsl(301, 71%, 38%)
HSVhsv(301, 83%, 65%)
CMYKcmyk(0%, 83.2%, 1.2%, 34.5%)
CIE-LABlab(40.84, 67.23, -41.11)
CIE-LCHlch(40.84, 78.80, 328.55°)
OKLaboklab(51.95% 0.1887 -0.114)
OKLCHoklch(51.95% 0.221 328.9)
XYZxyz(23.1429, 11.7644, 36.6419)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71CA5 #1CA71E
analogous
#631CA7 #A71CA5 #A71C5F
triadic
#A71CA5 #A5A71C #1CA5A7
tetradic
#A71CA5 #A7631C #1CA71E #1C5FA7
square
#A71CA5 #A7631C #1CA71E #1C5FA7
split-complementary
#A71CA5 #5FA71C #1CA763
monochromatic
#3E0A3D #731371 #A71CA5 #DB26D8 #E35AE1

Accessibility & contrast

On white

6.26
#A71CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71CA5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71CA5#FFFFFF#000000##FFFFFF
##A71CA51.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4966A2
Tritanopia (blue-blind)
#AD3563
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71ca5;
/* rgb */ color: rgb(167, 28, 165);
/* oklch */ color: oklch(51.9% 0.221 328.9);
Tailwind
colors: {
  custom: {
    50: '#c56dc0',
    500: '#a71ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a71ca5;
$custom-light: #c56dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ca5",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 300.863,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.22051,
    "h": 328.9
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#A71CA5
secondary
#58C759
accent
#EE3C3A
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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