#A71C9A#A71C9A

#A71C9A is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.213 H 332.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A71C9A
RGBrgb(167, 28, 154)
HSLhsl(306, 71%, 38%)
HSVhsv(306, 83%, 65%)
CMYKcmyk(0%, 83.2%, 7.8%, 34.5%)
CIE-LABlab(40.21, 65.55, -35.48)
CIE-LCHlch(40.21, 74.53, 331.57°)
OKLaboklab(51.3% 0.189 -0.0977)
OKLCHoklch(51.3% 0.213 332.7)
XYZxyz(22.1845, 11.3810, 31.5940)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C9A #1CA729
analogous
#6F1CA7 #A71C9A #A71C54
triadic
#A71C9A #9AA71C #1C9AA7
tetradic
#A71C9A #A76F1C #1CA729 #1C54A7
square
#A71C9A #A76F1C #1CA729 #1C54A7
split-complementary
#A71C9A #54A71C #1CA76F
monochromatic
#3E0A39 #73136A #A71C9A #DB26CA #E35AD7

Accessibility & contrast

On white

6.41
#A71C9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A71C9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C9A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C9A#FFFFFF#000000##FFFFFF
##A71C9A1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539D
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#AF2F5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71c9a;
/* rgb */ color: rgb(167, 28, 154);
/* oklch */ color: oklch(51.3% 0.213 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56cb8',
    500: '#a71c9a',
    950: '#000000',
  },
}
SCSS
$custom: #a71c9a;
$custom-light: #c56cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c9a",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 305.612,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.21273,
    "h": 332.7
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#A71C9A
secondary
#58C762
accent
#EE4B3A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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