#A71F9B#A71F9B

#A71F9B is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.211 H 332.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A71F9B
RGBrgb(167, 31, 155)
HSLhsl(305, 69%, 39%)
HSVhsv(305, 81%, 65%)
CMYKcmyk(0%, 81.4%, 7.2%, 34.5%)
CIE-LABlab(40.51, 64.98, -35.62)
CIE-LCHlch(40.51, 74.10, 331.27°)
OKLaboklab(51.54% 0.1869 -0.0981)
OKLCHoklch(51.54% 0.211 332.3)
XYZxyz(22.3428, 11.5640, 32.0593)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F9B #1FA72B
analogous
#6F1FA7 #A71F9B #A71F57
triadic
#A71F9B #9BA71F #1F9BA7
tetradic
#A71F9B #A76F1F #1FA72B #1F57A7
square
#A71F9B #A76F1F #1FA72B #1F57A7
split-complementary
#A71F9B #57A71F #1FA76F
monochromatic
#400C3B #73156B #A71F9B #D82BC9 #E15FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F9B#FFFFFF#000000##FFFFFF
##A71F9B1.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)
#12539E
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#AE315E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71f9b;
/* rgb */ color: rgb(167, 31, 155);
/* oklch */ color: oklch(51.5% 0.211 332.3);
Tailwind
colors: {
  custom: {
    50: '#c56db9',
    500: '#a71f9b',
    950: '#000000',
  },
}
SCSS
$custom: #a71f9b;
$custom-light: #c56db9;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f9b",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 305.294,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.21108,
    "h": 332.3
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#A71F9B
secondary
#5CC665
accent
#EC4C3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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