#A71B98#A71B98

#A71B98 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.212 H 333.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A71B98
RGBrgb(167, 27, 152)
HSLhsl(306, 72%, 38%)
HSVhsv(306, 84%, 65%)
CMYKcmyk(0%, 83.8%, 9%, 34.5%)
CIE-LABlab(40.03, 65.47, -34.57)
CIE-LCHlch(40.03, 74.04, 332.17°)
OKLaboklab(51.14% 0.1896 -0.095)
OKLCHoklch(51.14% 0.212 333.4)
XYZxyz(21.9960, 11.2683, 30.7162)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71B98 #1BA72A
analogous
#701BA7 #A71B98 #A71B52
triadic
#A71B98 #98A71B #1B98A7
tetradic
#A71B98 #A7701B #1BA72A #1B52A7
square
#A71B98 #A7701B #1BA72A #1B52A7
split-complementary
#A71B98 #52A71B #1BA770
monochromatic
#3E0A38 #721268 #A71B98 #DC24C8 #E458D5

Accessibility & contrast

On white

6.46
#A71B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A71B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71B98
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71B98#FFFFFF#000000##FFFFFF
##A71B981.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AF2D5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71b98;
/* rgb */ color: rgb(167, 27, 152);
/* oklch */ color: oklch(51.1% 0.212 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56cb7',
    500: '#a71b98',
    950: '#000000',
  },
}
SCSS
$custom: #a71b98;
$custom-light: #c56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71b98",
  "rgb": {
    "r": 167,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 306.429,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.2121,
    "h": 333.4
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#A71B98
secondary
#56C862
accent
#EF4C39
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71B98

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

Preview Lab → · Contrast checker → · Palette generator →

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