#A71C97#A71C97

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

Color values

HEX#A71C97
RGBrgb(167, 28, 151)
HSLhsl(307, 71%, 38%)
HSVhsv(307, 83%, 65%)
CMYKcmyk(0%, 83.2%, 9.6%, 34.5%)
CIE-LABlab(40.05, 65.10, -33.92)
CIE-LCHlch(40.05, 73.41, 332.48°)
OKLaboklab(51.14% 0.1889 -0.0932)
OKLCHoklch(51.14% 0.211 333.8)
XYZxyz(21.9377, 11.2824, 30.2945)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C97 #1CA72C
analogous
#711CA7 #A71C97 #A71C52
triadic
#A71C97 #97A71C #1C97A7
tetradic
#A71C97 #A7711C #1CA72C #1C52A7
square
#A71C97 #A7711C #1CA72C #1C52A7
split-complementary
#A71C97 #52A71C #1CA771
monochromatic
#3E0A38 #731368 #A71C97 #DB26C6 #E35AD4

Accessibility & contrast

On white

6.45
#A71C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A71C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C97
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C97#FFFFFF#000000##FFFFFF
##A71C971.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#AF2D5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71c97;
/* rgb */ color: rgb(167, 28, 151);
/* oklch */ color: oklch(51.1% 0.211 333.8);
Tailwind
colors: {
  custom: {
    50: '#c56cb6',
    500: '#a71c97',
    950: '#000000',
  },
}
SCSS
$custom: #a71c97;
$custom-light: #c56cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c97",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 306.906,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.21066,
    "h": 333.8
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#A71C97
secondary
#58C765
accent
#EE4F3A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C97

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

Preview Lab → · Contrast checker → · Palette generator →

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