#A71C98#A71C98

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

Color values

HEX#A71C98
RGBrgb(167, 28, 152)
HSLhsl(306, 71%, 38%)
HSVhsv(306, 83%, 65%)
CMYKcmyk(0%, 83.2%, 9%, 34.5%)
CIE-LABlab(40.11, 65.25, -34.45)
CIE-LCHlch(40.11, 73.78, 332.17°)
OKLaboklab(51.19% 0.189 -0.0947)
OKLCHoklch(51.19% 0.211 333.4)
XYZxyz(22.0193, 11.3150, 30.7240)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C98 #1CA72B
analogous
#701CA7 #A71C98 #A71C52
triadic
#A71C98 #98A71C #1C98A7
tetradic
#A71C98 #A7701C #1CA72B #1C52A7
square
#A71C98 #A7701C #1CA72B #1C52A7
split-complementary
#A71C98 #52A71C #1CA770
monochromatic
#3E0A39 #731368 #A71C98 #DB26C7 #E35AD5

Accessibility & contrast

On white

6.44
#A71C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A71C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C98
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C98#FFFFFF#000000##FFFFFF
##A71C981.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71c98;
/* rgb */ color: rgb(167, 28, 152);
/* oklch */ color: oklch(51.2% 0.211 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56cb7',
    500: '#a71c98',
    950: '#000000',
  },
}
SCSS
$custom: #a71c98;
$custom-light: #c56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c98",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 306.475,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.21135,
    "h": 333.4
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#A71C98
secondary
#58C764
accent
#EE4D3A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C98

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

Preview Lab → · Contrast checker → · Palette generator →

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