#A71997#A71997

#A71997 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.213 H 333.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A71997
RGBrgb(167, 25, 151)
HSLhsl(307, 74%, 38%)
HSVhsv(307, 85%, 65%)
CMYKcmyk(0%, 85%, 9.6%, 34.5%)
CIE-LABlab(39.83, 65.76, -34.28)
CIE-LCHlch(39.83, 74.15, 332.47°)
OKLaboklab(50.98% 0.1909 -0.0942)
OKLCHoklch(50.98% 0.213 333.7)
XYZxyz(21.8701, 11.1471, 30.2719)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71997 #19A729
analogous
#7019A7 #A71997 #A71950
triadic
#A71997 #97A719 #1997A7
tetradic
#A71997 #A77019 #19A729 #1950A7
square
#A71997 #A77019 #19A729 #1950A7
split-complementary
#A71997 #50A719 #19A770
monochromatic
#3D0937 #721167 #A71997 #DC21C7 #E655D5

Accessibility & contrast

On white

6.50
#A71997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A71997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71997
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71997#FFFFFF#000000##FFFFFF
##A719971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#AF2B5A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71997;
/* rgb */ color: rgb(167, 25, 151);
/* oklch */ color: oklch(51.0% 0.213 333.7);
Tailwind
colors: {
  custom: {
    50: '#c56bb6',
    500: '#a71997',
    950: '#000000',
  },
}
SCSS
$custom: #a71997;
$custom-light: #c56bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a71997",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 151
  },
  "hsl": {
    "h": 306.761,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50975,
    "c": 0.21284,
    "h": 333.7
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#A71997
secondary
#53C861
accent
#F14C37
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71997

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

Preview Lab → · Contrast checker → · Palette generator →

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