#A71FA3#A71FA3

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

Color values

HEX#A71FA3
RGBrgb(167, 31, 163)
HSLhsl(302, 69%, 39%)
HSVhsv(302, 81%, 65%)
CMYKcmyk(0%, 81.4%, 2.4%, 34.5%)
CIE-LABlab(40.96, 66.21, -39.72)
CIE-LCHlch(40.96, 77.21, 329.04°)
OKLaboklab(52% 0.1868 -0.11)
OKLCHoklch(52% 0.217 329.5)
XYZxyz(23.0371, 11.8416, 35.7156)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA3 #1FA723
analogous
#671FA7 #A71FA3 #A71F5F
triadic
#A71FA3 #A3A71F #1FA3A7
tetradic
#A71FA3 #A7671F #1FA723 #1F5FA7
square
#A71FA3 #A7671F #1FA723 #1F5FA7
split-complementary
#A71FA3 #5FA71F #1FA767
monochromatic
#400C3E #731571 #A71FA3 #D82BD3 #E15FDD

Accessibility & contrast

On white

6.24
#A71FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A71FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71FA3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA3#FFFFFF#000000##FFFFFF
##A71FA31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#AD3662
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71fa3;
/* rgb */ color: rgb(167, 31, 163);
/* oklch */ color: oklch(52.0% 0.217 329.5);
Tailwind
colors: {
  custom: {
    50: '#c56dbf',
    500: '#a71fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa3;
$custom-light: #c56dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa3",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 163
  },
  "hsl": {
    "h": 301.765,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.21679,
    "h": 329.5
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#A71FA3
secondary
#5CC65F
accent
#EC413C
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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