#A71C9F#A71C9F

#A71C9F is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.216 H 330.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A71C9F
RGBrgb(167, 28, 159)
HSLhsl(303, 71%, 38%)
HSVhsv(303, 83%, 65%)
CMYKcmyk(0%, 83.2%, 4.8%, 34.5%)
CIE-LABlab(40.49, 66.30, -38.06)
CIE-LCHlch(40.49, 76.45, 330.14°)
OKLaboklab(51.59% 0.1889 -0.1051)
OKLCHoklch(51.59% 0.216 330.9)
XYZxyz(22.6096, 11.5511, 33.8330)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71C9F #1CA724
analogous
#691CA7 #A71C9F #A71C59
triadic
#A71C9F #9FA71C #1C9FA7
tetradic
#A71C9F #A7691C #1CA724 #1C59A7
square
#A71C9F #A7691C #1CA724 #1C59A7
split-complementary
#A71C9F #59A71C #1CA769
monochromatic
#3E0A3B #73136D #A71C9F #DB26D0 #E35ADB

Accessibility & contrast

On white

6.34
#A71C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A71C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71C9F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71C9F#FFFFFF#000000##FFFFFF
##A71C9F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#AE325F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71c9f;
/* rgb */ color: rgb(167, 28, 159);
/* oklch */ color: oklch(51.6% 0.216 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56cbc',
    500: '#a71c9f',
    950: '#000000',
  },
}
SCSS
$custom: #a71c9f;
$custom-light: #c56cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a71c9f",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 303.453,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.21623,
    "h": 330.9
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#A71C9F
secondary
#58C75E
accent
#EE443A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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