#A71B9A#A71B9A

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

Color values

HEX#A71B9A
RGBrgb(167, 27, 154)
HSLhsl(306, 72%, 38%)
HSVhsv(306, 84%, 65%)
CMYKcmyk(0%, 83.8%, 7.8%, 34.5%)
CIE-LABlab(40.14, 65.77, -35.61)
CIE-LCHlch(40.14, 74.79, 331.57°)
OKLaboklab(51.25% 0.1896 -0.098)
OKLCHoklch(51.25% 0.213 332.7)
XYZxyz(22.1612, 11.3344, 31.5862)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B9A #1BA728
analogous
#6E1BA7 #A71B9A #A71B54
triadic
#A71B9A #9AA71B #1B9AA7
tetradic
#A71B9A #A76E1B #1BA728 #1B54A7
square
#A71B9A #A76E1B #1BA728 #1B54A7
split-complementary
#A71B9A #54A71B #1BA76E
monochromatic
#3E0A39 #721269 #A71B9A #DC24CA #E458D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71B9A#FFFFFF#000000##FFFFFF
##A71B9A1.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)
#0D529D
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#AF2E5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71b9a;
/* rgb */ color: rgb(167, 27, 154);
/* oklch */ color: oklch(51.2% 0.213 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56cb8',
    500: '#a71b9a',
    950: '#000000',
  },
}
SCSS
$custom: #a71b9a;
$custom-light: #c56cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b9a",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 305.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.21347,
    "h": 332.7
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#A71B9A
secondary
#56C861
accent
#EF4A39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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