#A71FA6#A71FA6

#A71FA6 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.2% C 0.219 H 328.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A71FA6
RGBrgb(167, 31, 166)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 81%, 65%)
CMYKcmyk(0%, 81.4%, 0.6%, 34.5%)
CIE-LABlab(41.14, 66.69, -41.24)
CIE-LCHlch(41.14, 78.41, 328.27°)
OKLaboklab(52.18% 0.1867 -0.1144)
OKLCHoklch(52.18% 0.219 328.5)
XYZxyz(23.3090, 11.9504, 37.1480)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA6 #1FA720
analogous
#641FA7 #A71FA6 #A71F62
triadic
#A71FA6 #A6A71F #1FA6A7
tetradic
#A71FA6 #A7641F #1FA720 #1F62A7
square
#A71FA6 #A7641F #1FA720 #1F62A7
split-complementary
#A71FA6 #62A71F #1FA764
monochromatic
#400C3F #731573 #A71FA6 #D82BD6 #E15FE0

Accessibility & contrast

On white

6.20
#A71FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A71FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71FA6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA6#FFFFFF#000000##FFFFFF
##A71FA61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#AD3764
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71fa6;
/* rgb */ color: rgb(167, 31, 166);
/* oklch */ color: oklch(52.2% 0.219 328.5);
Tailwind
colors: {
  custom: {
    50: '#c56ec1',
    500: '#a71fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa6;
$custom-light: #c56ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa6",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 300.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.21897,
    "h": 328.5
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#A71FA6
secondary
#5CC65D
accent
#EC3E3C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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