#A71FA1#A71FA1

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

Color values

HEX#A71FA1
RGBrgb(167, 31, 161)
HSLhsl(303, 69%, 39%)
HSVhsv(303, 81%, 65%)
CMYKcmyk(0%, 81.4%, 3.6%, 34.5%)
CIE-LABlab(40.85, 65.90, -38.70)
CIE-LCHlch(40.85, 76.42, 329.58°)
OKLaboklab(51.88% 0.1869 -0.107)
OKLCHoklch(51.88% 0.215 330.2)
XYZxyz(22.8593, 11.7705, 34.7793)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA1 #1FA725
analogous
#691FA7 #A71FA1 #A71F5D
triadic
#A71FA1 #A1A71F #1FA1A7
tetradic
#A71FA1 #A7691F #1FA725 #1F5DA7
square
#A71FA1 #A7691F #1FA725 #1F5DA7
split-complementary
#A71FA1 #5DA71F #1FA769
monochromatic
#400C3D #73156F #A71FA1 #D82BD0 #E15FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71FA1#FFFFFF#000000##FFFFFF
##A71FA11.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)
#0155A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#AD3561
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71fa1;
/* rgb */ color: rgb(167, 31, 161);
/* oklch */ color: oklch(51.9% 0.215 330.2);
Tailwind
colors: {
  custom: {
    50: '#c56dbd',
    500: '#a71fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa1;
$custom-light: #c56dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa1",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 302.647,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.21535,
    "h": 330.2
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#A71FA1
secondary
#5CC661
accent
#EC443C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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