#A71B9C#A71B9C

#A71B9C is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.215 H 332.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A71B9C
RGBrgb(167, 27, 156)
HSLhsl(305, 72%, 38%)
HSVhsv(305, 84%, 65%)
CMYKcmyk(0%, 83.8%, 6.6%, 34.5%)
CIE-LABlab(40.25, 66.07, -36.64)
CIE-LCHlch(40.25, 75.55, 330.99°)
OKLaboklab(51.36% 0.1896 -0.101)
OKLCHoklch(51.36% 0.215 332)
XYZxyz(22.3291, 11.4016, 32.4708)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B9C #1BA726
analogous
#6C1BA7 #A71B9C #A71B56
triadic
#A71B9C #9CA71B #1B9CA7
tetradic
#A71B9C #A76C1B #1BA726 #1B56A7
square
#A71B9C #A76C1B #1BA726 #1B56A7
split-complementary
#A71B9C #56A71B #1BA76C
monochromatic
#3E0A3A #72126B #A71B9C #DC24CD #E458D9

Accessibility & contrast

On white

6.40
#A71B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A71B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B9C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B9C#FFFFFF#000000##FFFFFF
##A71B9C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07539F
Deuteranopia (green-blind)
#4E6599
Tritanopia (blue-blind)
#AE2F5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71b9c;
/* rgb */ color: rgb(167, 27, 156);
/* oklch */ color: oklch(51.4% 0.215 332.0);
Tailwind
colors: {
  custom: {
    50: '#c56cba',
    500: '#a71b9c',
    950: '#000000',
  },
}
SCSS
$custom: #a71b9c;
$custom-light: #c56cba;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b9c",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 156
  },
  "hsl": {
    "h": 304.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.21486,
    "h": 332
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#A71B9C
secondary
#56C85F
accent
#EF4739
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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