#A71F95#A71F95

#A71F95 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.207 H 334.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A71F95
RGBrgb(167, 31, 149)
HSLhsl(308, 69%, 39%)
HSVhsv(308, 81%, 65%)
CMYKcmyk(0%, 81.4%, 10.8%, 34.5%)
CIE-LABlab(40.19, 64.09, -32.49)
CIE-LCHlch(40.19, 71.86, 333.12°)
OKLaboklab(51.2% 0.1868 -0.089)
OKLCHoklch(51.2% 0.207 334.5)
XYZxyz(21.8514, 11.3674, 29.4712)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F95 #1FA731
analogous
#751FA7 #A71F95 #A71F51
triadic
#A71F95 #95A71F #1F95A7
tetradic
#A71F95 #A7751F #1FA731 #1F51A7
square
#A71F95 #A7751F #1FA731 #1F51A7
split-complementary
#A71F95 #51A71F #1FA775
monochromatic
#400C39 #731567 #A71F95 #D82BC1 #E15FD0

Accessibility & contrast

On white

6.42
#A71F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A71F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F95
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F95#FFFFFF#000000##FFFFFF
##A71F951.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5298
Deuteranopia (green-blind)
#526692
Tritanopia (blue-blind)
#AF2E5A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71f95;
/* rgb */ color: rgb(167, 31, 149);
/* oklch */ color: oklch(51.2% 0.207 334.5);
Tailwind
colors: {
  custom: {
    50: '#c56db4',
    500: '#a71f95',
    950: '#000000',
  },
}
SCSS
$custom: #a71f95;
$custom-light: #c56db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f95",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 307.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.20691,
    "h": 334.5
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#A71F95
secondary
#5CC66A
accent
#EC533C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F95

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

Preview Lab → · Contrast checker → · Palette generator →

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