#A71B9D#A71B9D

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

Color values

HEX#A71B9D
RGBrgb(167, 27, 157)
HSLhsl(304, 72%, 38%)
HSVhsv(304, 84%, 65%)
CMYKcmyk(0%, 83.8%, 6%, 34.5%)
CIE-LABlab(40.30, 66.22, -37.16)
CIE-LCHlch(40.30, 75.93, 330.70°)
OKLaboklab(51.42% 0.1896 -0.1025)
OKLCHoklch(51.42% 0.216 331.6)
XYZxyz(22.4141, 11.4356, 32.9186)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B9D #1BA725
analogous
#6B1BA7 #A71B9D #A71B57
triadic
#A71B9D #9DA71B #1B9DA7
tetradic
#A71B9D #A76B1B #1BA725 #1B57A7
square
#A71B9D #A76B1B #1BA725 #1B57A7
split-complementary
#A71B9D #57A71B #1BA76B
monochromatic
#3E0A3A #72126B #A71B9D #DC24CE #E458DA

Accessibility & contrast

On white

6.39
#A71B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71B9D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B9D#FFFFFF#000000##FFFFFF
##A71B9D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0453A0
Deuteranopia (green-blind)
#4D669A
Tritanopia (blue-blind)
#AE305E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71b9d;
/* rgb */ color: rgb(167, 27, 157);
/* oklch */ color: oklch(51.4% 0.216 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56cba',
    500: '#a71b9d',
    950: '#000000',
  },
}
SCSS
$custom: #a71b9d;
$custom-light: #c56cba;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b9d",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 157
  },
  "hsl": {
    "h": 304.286,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.21556,
    "h": 331.6
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A71B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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