#A71D97#A71D97

#A71D97 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.210 H 333.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A71D97
RGBrgb(167, 29, 151)
HSLhsl(307, 70%, 38%)
HSVhsv(307, 83%, 65%)
CMYKcmyk(0%, 82.6%, 9.6%, 34.5%)
CIE-LABlab(40.13, 64.87, -33.80)
CIE-LCHlch(40.13, 73.15, 332.48°)
OKLaboklab(51.19% 0.1883 -0.0928)
OKLCHoklch(51.19% 0.21 333.8)
XYZxyz(21.9618, 11.3306, 30.3025)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D97 #1DA72D
analogous
#721DA7 #A71D97 #A71D52
triadic
#A71D97 #97A71D #1D97A7
tetradic
#A71D97 #A7721D #1DA72D #1D52A7
square
#A71D97 #A7721D #1DA72D #1D52A7
split-complementary
#A71D97 #52A71D #1DA772
monochromatic
#3F0B39 #731468 #A71D97 #DA28C5 #E35CD3

Accessibility & contrast

On white

6.43
#A71D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A71D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71D97
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D97#FFFFFF#000000##FFFFFF
##A71D971.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#AF2E5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71d97;
/* rgb */ color: rgb(167, 29, 151);
/* oklch */ color: oklch(51.2% 0.210 333.8);
Tailwind
colors: {
  custom: {
    50: '#c56cb6',
    500: '#a71d97',
    950: '#000000',
  },
}
SCSS
$custom: #a71d97;
$custom-light: #c56cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d97",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 306.957,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.2099,
    "h": 333.8
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#A71D97
secondary
#59C766
accent
#ED4F3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D97

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

Preview Lab → · Contrast checker → · Palette generator →

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