#A71DA2#A71DA2

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

Color values

HEX#A71DA2
RGBrgb(167, 29, 162)
HSLhsl(302, 70%, 38%)
HSVhsv(302, 83%, 65%)
CMYKcmyk(0%, 82.6%, 3%, 34.5%)
CIE-LABlab(40.74, 66.53, -39.47)
CIE-LCHlch(40.74, 77.36, 329.32°)
OKLaboklab(51.82% 0.1882 -0.1092)
OKLCHoklch(51.82% 0.218 329.9)
XYZxyz(22.8972, 11.7047, 35.2287)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71DA2 #1DA722
analogous
#671DA7 #A71DA2 #A71D5D
triadic
#A71DA2 #A2A71D #1DA2A7
tetradic
#A71DA2 #A7671D #1DA722 #1D5DA7
square
#A71DA2 #A7671D #1DA722 #1D5DA7
split-complementary
#A71DA2 #5DA71D #1DA767
monochromatic
#3F0B3D #73146F #A71DA2 #DA28D3 #E35CDE

Accessibility & contrast

On white

6.29
#A71DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A71DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71DA2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71DA2#FFFFFF#000000##FFFFFF
##A71DA21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#AD3461
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71da2;
/* rgb */ color: rgb(167, 29, 162);
/* oklch */ color: oklch(51.8% 0.218 329.9);
Tailwind
colors: {
  custom: {
    50: '#c56dbe',
    500: '#a71da2',
    950: '#000000',
  },
}
SCSS
$custom: #a71da2;
$custom-light: #c56dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a71da2",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 162
  },
  "hsl": {
    "h": 302.174,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.21762,
    "h": 329.9
  },
  "luminance": 0.11703
}

Semantic roles & 50–950 ramp

primary
#A71DA2
secondary
#59C75D
accent
#ED413B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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