#A71B9E#A71B9E

#A71B9E is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.216 H 331.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A71B9E
RGBrgb(167, 27, 158)
HSLhsl(304, 72%, 38%)
HSVhsv(304, 84%, 65%)
CMYKcmyk(0%, 83.8%, 5.4%, 34.5%)
CIE-LABlab(40.36, 66.37, -37.67)
CIE-LCHlch(40.36, 76.31, 330.42°)
OKLaboklab(51.48% 0.1896 -0.104)
OKLCHoklch(51.48% 0.216 331.3)
XYZxyz(22.4999, 11.4699, 33.3700)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B9E #1BA724
analogous
#6A1BA7 #A71B9E #A71B58
triadic
#A71B9E #9EA71B #1B9EA7
tetradic
#A71B9E #A76A1B #1BA724 #1B58A7
square
#A71B9E #A76A1B #1BA724 #1B58A7
split-complementary
#A71B9E #58A71B #1BA76A
monochromatic
#3E0A3A #72126C #A71B9E #DC24D0 #E458DB

Accessibility & contrast

On white

6.38
#A71B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A71B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B9E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B9E#FFFFFF#000000##FFFFFF
##A71B9E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#AE315F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71b9e;
/* rgb */ color: rgb(167, 27, 158);
/* oklch */ color: oklch(51.5% 0.216 331.3);
Tailwind
colors: {
  custom: {
    50: '#c56cbb',
    500: '#a71b9e',
    950: '#000000',
  },
}
SCSS
$custom: #a71b9e;
$custom-light: #c56cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b9e",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 303.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.21626,
    "h": 331.3
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#A71B9E
secondary
#56C85E
accent
#EF4539
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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