#A71CA6#A71CA6

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

Color values

HEX#A71CA6
RGBrgb(167, 28, 166)
HSLhsl(300, 71%, 38%)
HSVhsv(300, 83%, 65%)
CMYKcmyk(0%, 83.2%, 0.6%, 34.5%)
CIE-LABlab(40.90, 67.38, -41.62)
CIE-LCHlch(40.90, 79.20, 328.30°)
OKLaboklab(52.01% 0.1887 -0.1155)
OKLCHoklch(52.01% 0.221 328.5)
XYZxyz(23.2343, 11.8010, 37.1231)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71CA6 #1CA71D
analogous
#631CA7 #A71CA6 #A71C60
triadic
#A71CA6 #A6A71C #1CA6A7
tetradic
#A71CA6 #A7631C #1CA71D #1C60A7
square
#A71CA6 #A7631C #1CA71D #1C60A7
split-complementary
#A71CA6 #60A71C #1CA763
monochromatic
#3E0A3E #731372 #A71CA6 #DB26D9 #E35AE2

Accessibility & contrast

On white

6.25
#A71CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A71CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71CA6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71CA6#FFFFFF#000000##FFFFFF
##A71CA61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#AD3663
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71ca6;
/* rgb */ color: rgb(167, 28, 166);
/* oklch */ color: oklch(52.0% 0.221 328.5);
Tailwind
colors: {
  custom: {
    50: '#c56dc1',
    500: '#a71ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a71ca6;
$custom-light: #c56dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ca6",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 300.432,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.22122,
    "h": 328.5
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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