#A71D98#A71D98

#A71D98 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.211 H 333.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A71D98
RGBrgb(167, 29, 152)
HSLhsl(307, 70%, 38%)
HSVhsv(307, 83%, 65%)
CMYKcmyk(0%, 82.6%, 9%, 34.5%)
CIE-LABlab(40.19, 65.02, -34.32)
CIE-LCHlch(40.19, 73.52, 332.17°)
OKLaboklab(51.25% 0.1883 -0.0943)
OKLCHoklch(51.25% 0.211 333.4)
XYZxyz(22.0434, 11.3632, 30.7320)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71D98 #1DA72C
analogous
#711DA7 #A71D98 #A71D53
triadic
#A71D98 #98A71D #1D98A7
tetradic
#A71D98 #A7711D #1DA72C #1D53A7
square
#A71D98 #A7711D #1DA72C #1D53A7
split-complementary
#A71D98 #53A71D #1DA771
monochromatic
#3F0B39 #731469 #A71D98 #DA28C6 #E35CD4

Accessibility & contrast

On white

6.42
#A71D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71D98
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71D98#FFFFFF#000000##FFFFFF
##A71D981.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AF2E5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71d98;
/* rgb */ color: rgb(167, 29, 152);
/* oklch */ color: oklch(51.2% 0.211 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56cb7',
    500: '#a71d98',
    950: '#000000',
  },
}
SCSS
$custom: #a71d98;
$custom-light: #c56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71d98",
  "rgb": {
    "r": 167,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 306.522,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.21058,
    "h": 333.4
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#A71D98
secondary
#59C765
accent
#ED4E3B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71D98

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

Preview Lab → · Contrast checker → · Palette generator →

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