#A71D9A#A71D9A

#A71D9A is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.212 H 332.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A71D9A
RGBrgb(167, 29, 154)
HSLhsl(306, 70%, 38%)
HSVhsv(306, 83%, 65%)
CMYKcmyk(0%, 82.6%, 7.8%, 34.5%)
CIE-LABlab(40.29, 65.31, -35.36)
CIE-LCHlch(40.29, 74.27, 331.57°)
OKLaboklab(51.36% 0.1883 -0.0973)
OKLCHoklch(51.36% 0.212 332.7)
XYZxyz(22.2086, 11.4293, 31.6020)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D9A #1DA72A
analogous
#6F1DA7 #A71D9A #A71D55
triadic
#A71D9A #9AA71D #1D9AA7
tetradic
#A71D9A #A76F1D #1DA72A #1D55A7
square
#A71D9A #A76F1D #1DA72A #1D55A7
split-complementary
#A71D9A #55A71D #1DA76F
monochromatic
#3F0B3A #73146A #A71D9A #DA28C9 #E35CD6

Accessibility & contrast

On white

6.39
#A71D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A71D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71D9A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D9A#FFFFFF#000000##FFFFFF
##A71D9A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#AF2F5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71d9a;
/* rgb */ color: rgb(167, 29, 154);
/* oklch */ color: oklch(51.4% 0.212 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56cb8',
    500: '#a71d9a',
    950: '#000000',
  },
}
SCSS
$custom: #a71d9a;
$custom-light: #c56cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d9a",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 305.652,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.21197,
    "h": 332.7
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#A71D9A
secondary
#59C763
accent
#ED4B3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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