#A71FA0#A71FA0

#A71FA0 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.215 H 330.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A71FA0
RGBrgb(167, 31, 160)
HSLhsl(303, 69%, 39%)
HSVhsv(303, 81%, 65%)
CMYKcmyk(0%, 81.4%, 4.2%, 34.5%)
CIE-LABlab(40.79, 65.75, -38.19)
CIE-LCHlch(40.79, 76.03, 329.85°)
OKLaboklab(51.82% 0.1869 -0.1055)
OKLCHoklch(51.82% 0.215 330.5)
XYZxyz(22.7714, 11.7354, 34.3167)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FA0 #1FA726
analogous
#6A1FA7 #A71FA0 #A71F5C
triadic
#A71FA0 #A0A71F #1FA0A7
tetradic
#A71FA0 #A76A1F #1FA726 #1F5CA7
square
#A71FA0 #A76A1F #1FA726 #1F5CA7
split-complementary
#A71FA0 #5CA71F #1FA76A
monochromatic
#400C3D #73156F #A71FA0 #D82BCF #E15FDB

Accessibility & contrast

On white

6.27
#A71FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71FA0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FA0#FFFFFF#000000##FFFFFF
##A71FA01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0455A3
Deuteranopia (green-blind)
#4D669D
Tritanopia (blue-blind)
#AE3460
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71fa0;
/* rgb */ color: rgb(167, 31, 160);
/* oklch */ color: oklch(51.8% 0.215 330.5);
Tailwind
colors: {
  custom: {
    50: '#c56dbc',
    500: '#a71fa0',
    950: '#000000',
  },
}
SCSS
$custom: #a71fa0;
$custom-light: #c56dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fa0",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 303.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.21463,
    "h": 330.5
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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