#A71CA2#A71CA2

#A71CA2 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.218 H 329.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A71CA2
RGBrgb(167, 28, 162)
HSLhsl(302, 71%, 38%)
HSVhsv(302, 83%, 65%)
CMYKcmyk(0%, 83.2%, 3%, 34.5%)
CIE-LABlab(40.66, 66.76, -39.59)
CIE-LCHlch(40.66, 77.62, 329.33°)
OKLaboklab(51.77% 0.1889 -0.1096)
OKLCHoklch(51.77% 0.218 329.9)
XYZxyz(22.8731, 11.6565, 35.2207)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71CA2 #1CA721
analogous
#661CA7 #A71CA2 #A71C5C
triadic
#A71CA2 #A2A71C #1CA2A7
tetradic
#A71CA2 #A7661C #1CA721 #1C5CA7
square
#A71CA2 #A7661C #1CA721 #1C5CA7
split-complementary
#A71CA2 #5CA71C #1CA766
monochromatic
#3E0A3C #73136F #A71CA2 #DB26D4 #E35ADE

Accessibility & contrast

On white

6.30
#A71CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A71CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71CA2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71CA2#FFFFFF#000000##FFFFFF
##A71CA21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#AD3461
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71ca2;
/* rgb */ color: rgb(167, 28, 162);
/* oklch */ color: oklch(51.8% 0.218 329.9);
Tailwind
colors: {
  custom: {
    50: '#c56cbe',
    500: '#a71ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a71ca2;
$custom-light: #c56cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ca2",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 162
  },
  "hsl": {
    "h": 302.158,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.21835,
    "h": 329.9
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#A71CA2
secondary
#58C75C
accent
#EE403A
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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