#A71FA7#A71FA7

#A71FA7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.220 H 328.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A71FA7
RGBrgb(167, 31, 167)
HSLhsl(300, 69%, 39%)
HSVhsv(300, 81%, 65%)
CMYKcmyk(0%, 81.4%, 0%, 34.5%)
CIE-LABlab(41.20, 66.84, -41.74)
CIE-LCHlch(41.20, 78.81, 328.02°)
OKLaboklab(52.24% 0.1867 -0.1159)
OKLCHoklch(52.24% 0.22 328.2)
XYZxyz(23.4011, 11.9873, 37.6330)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA7 #1FA71F
analogous
#631FA7 #A71FA7 #A71F63
triadic
#A71FA7 #A7A71F #1FA7A7
tetradic
#A71FA7 #A7631F #1FA71F #1F63A7
square
#A71FA7 #A7631F #1FA71F #1F63A7
split-complementary
#A71FA7 #63A71F #1FA763
monochromatic
#400C40 #731573 #A71FA7 #D82BD8 #E15FE1

Accessibility & contrast

On white

6.18
#A71FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A71FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71FA7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA7#FFFFFF#000000##FFFFFF
##A71FA71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#AC3864
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71fa7;
/* rgb */ color: rgb(167, 31, 167);
/* oklch */ color: oklch(52.2% 0.220 328.2);
Tailwind
colors: {
  custom: {
    50: '#c56ec2',
    500: '#a71fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa7;
$custom-light: #c56ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa7",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 300,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.21969,
    "h": 328.2
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#A71FA7
secondary
#5CC65C
accent
#EC3C3C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A71FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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