#A71F9A#A71F9A

#A71F9A is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.210 H 332.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A71F9A
RGBrgb(167, 31, 154)
HSLhsl(306, 69%, 39%)
HSVhsv(306, 81%, 65%)
CMYKcmyk(0%, 81.4%, 7.8%, 34.5%)
CIE-LABlab(40.46, 64.83, -35.10)
CIE-LCHlch(40.46, 73.72, 331.57°)
OKLaboklab(51.48% 0.1869 -0.0966)
OKLCHoklch(51.48% 0.21 332.7)
XYZxyz(22.2592, 11.5305, 31.6189)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F9A #1FA72C
analogous
#701FA7 #A71F9A #A71F56
triadic
#A71F9A #9AA71F #1F9AA7
tetradic
#A71F9A #A7701F #1FA72C #1F56A7
square
#A71F9A #A7701F #1FA72C #1F56A7
split-complementary
#A71F9A #56A71F #1FA770
monochromatic
#400C3B #73156A #A71F9A #D82BC7 #E15FD5

Accessibility & contrast

On white

6.35
#A71F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A71F9A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F9A#FFFFFF#000000##FFFFFF
##A71F9A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AF315D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71f9a;
/* rgb */ color: rgb(167, 31, 154);
/* oklch */ color: oklch(51.5% 0.210 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56db8',
    500: '#a71f9a',
    950: '#000000',
  },
}
SCSS
$custom: #a71f9a;
$custom-light: #c56db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f9a",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 305.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.21038,
    "h": 332.7
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#A71F9A
secondary
#5CC666
accent
#EC4D3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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