#A71FA2#A71FA2

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

Color values

HEX#A71FA2
RGBrgb(167, 31, 162)
HSLhsl(302, 69%, 39%)
HSVhsv(302, 81%, 65%)
CMYKcmyk(0%, 81.4%, 3%, 34.5%)
CIE-LABlab(40.91, 66.06, -39.21)
CIE-LCHlch(40.91, 76.82, 329.31°)
OKLaboklab(51.94% 0.1868 -0.1085)
OKLCHoklch(51.94% 0.216 329.9)
XYZxyz(22.9478, 11.8059, 35.2456)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA2 #1FA724
analogous
#681FA7 #A71FA2 #A71F5E
triadic
#A71FA2 #A2A71F #1FA2A7
tetradic
#A71FA2 #A7681F #1FA724 #1F5EA7
square
#A71FA2 #A7681F #1FA724 #1F5EA7
split-complementary
#A71FA2 #5EA71F #1FA768
monochromatic
#400C3E #731570 #A71FA2 #D82BD1 #E15FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71FA2#FFFFFF#000000##FFFFFF
##A71FA21.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)
#0055A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#AD3562
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71fa2;
/* rgb */ color: rgb(167, 31, 162);
/* oklch */ color: oklch(51.9% 0.216 329.9);
Tailwind
colors: {
  custom: {
    50: '#c56dbe',
    500: '#a71fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa2;
$custom-light: #c56dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa2",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 162
  },
  "hsl": {
    "h": 302.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.21607,
    "h": 329.9
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#A71FA2
secondary
#5CC660
accent
#EC433C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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