#A71FAC#A71FAC

#A71FAC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.223 H 326.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A71FAC
RGBrgb(167, 31, 172)
HSLhsl(298, 69%, 40%)
HSVhsv(298, 82%, 67%)
CMYKcmyk(2.9%, 82%, 0%, 32.5%)
CIE-LABlab(41.49, 67.65, -44.25)
CIE-LCHlch(41.49, 80.84, 326.81°)
OKLaboklab(52.54% 0.1863 -0.1232)
OKLCHoklch(52.54% 0.223 326.5)
XYZxyz(23.8723, 12.1757, 40.1145)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71FAC #24AC1F
analogous
#601FAC #A71FAC #AC1F6B
triadic
#A71FAC #ACA71F #1FACA7
tetradic
#A71FAC #AC601F #24AC1F #1F6BAC
square
#A71FAC #AC601F #24AC1F #1F6BAC
split-complementary
#A71FAC #6BAC1F #1FAC60
monochromatic
#420C44 #751678 #A71FAC #D32FD9 #DE63E3

Accessibility & contrast

On white

6.11
#A71FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A71FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71FAC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71FAC#FFFFFF#000000##FFFFFF
##A71FAC1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#4567A9
Tritanopia (blue-blind)
#AC3B67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a71fac;
/* rgb */ color: rgb(167, 31, 172);
/* oklch */ color: oklch(52.5% 0.223 326.5);
Tailwind
colors: {
  custom: {
    50: '#c56ec5',
    500: '#a71fac',
    950: '#000000',
  },
}
SCSS
$custom: #a71fac;
$custom-light: #c56ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a71fac",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 297.872,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.22337,
    "h": 326.5
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#A71FAC
secondary
#63C85F
accent
#EC3C42
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A71FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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