#A71DAB#A71DAB

#A71DAB is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.4% C 0.224 H 326.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A71DAB
RGBrgb(167, 29, 171)
HSLhsl(298, 71%, 39%)
HSVhsv(298, 83%, 67%)
CMYKcmyk(2.3%, 83%, 0%, 32.9%)
CIE-LABlab(41.27, 67.95, -44.01)
CIE-LCHlch(41.27, 80.96, 327.07°)
OKLaboklab(52.37% 0.1877 -0.1224)
OKLCHoklch(52.37% 0.224 326.9)
XYZxyz(23.7260, 12.0362, 39.5938)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71DAB #21AB1D
analogous
#601DAB #A71DAB #AB1D68
triadic
#A71DAB #ABA71D #1DABA7
tetradic
#A71DAB #AB601D #21AB1D #1D68AB
square
#A71DAB #AB601D #21AB1D #1D68AB
split-complementary
#A71DAB #68AB1D #1DAB60
monochromatic
#410B42 #741477 #A71DAB #D62ADB #E05FE4

Accessibility & contrast

On white

6.16
#A71DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A71DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71DAB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71DAB#FFFFFF#000000##FFFFFF
##A71DAB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#AC3966
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a71dab;
/* rgb */ color: rgb(167, 29, 171);
/* oklch */ color: oklch(52.4% 0.224 326.9);
Tailwind
colors: {
  custom: {
    50: '#c56dc5',
    500: '#a71dab',
    950: '#000000',
  },
}
SCSS
$custom: #a71dab;
$custom-light: #c56dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71dab",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 171
  },
  "hsl": {
    "h": 298.31,
    "s": 71,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.22413,
    "h": 326.9
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#A71DAB
secondary
#5FC85C
accent
#EE3A3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A71DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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