#A71F9F#A71F9F

#A71F9F is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.214 H 330.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A71F9F
RGBrgb(167, 31, 159)
HSLhsl(304, 69%, 39%)
HSVhsv(304, 81%, 65%)
CMYKcmyk(0%, 81.4%, 4.8%, 34.5%)
CIE-LABlab(40.74, 65.59, -37.68)
CIE-LCHlch(40.74, 75.64, 330.13°)
OKLaboklab(51.76% 0.1869 -0.104)
OKLCHoklch(51.76% 0.214 330.9)
XYZxyz(22.6843, 11.7006, 33.8579)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F9F #1FA727
analogous
#6B1FA7 #A71F9F #A71F5B
triadic
#A71F9F #9FA71F #1F9FA7
tetradic
#A71F9F #A76B1F #1FA727 #1F5BA7
square
#A71F9F #A76B1F #1FA727 #1F5BA7
split-complementary
#A71F9F #5BA71F #1FA76B
monochromatic
#400C3D #73156E #A71F9F #D82BCE #E15FDA

Accessibility & contrast

On white

6.29
#A71F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A71F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F9F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F9F#FFFFFF#000000##FFFFFF
##A71F9F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#AE3360
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71f9f;
/* rgb */ color: rgb(167, 31, 159);
/* oklch */ color: oklch(51.8% 0.214 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56dbc',
    500: '#a71f9f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f9f;
$custom-light: #c56dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f9f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 303.529,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.21392,
    "h": 330.9
  },
  "luminance": 0.11699
}

Semantic roles & 50–950 ramp

primary
#A71F9F
secondary
#5CC662
accent
#EC473C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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