#A71E97#A71E97

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

Color values

HEX#A71E97
RGBrgb(167, 30, 151)
HSLhsl(307, 70%, 39%)
HSVhsv(307, 82%, 65%)
CMYKcmyk(0%, 82%, 9.6%, 34.5%)
CIE-LABlab(40.21, 64.63, -33.67)
CIE-LCHlch(40.21, 72.88, 332.48°)
OKLaboklab(51.25% 0.1876 -0.0924)
OKLCHoklch(51.25% 0.209 333.8)
XYZxyz(21.9868, 11.3804, 30.3108)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E97 #1EA72E
analogous
#721EA7 #A71E97 #A71E52
triadic
#A71E97 #97A71E #1E97A7
tetradic
#A71E97 #A7721E #1EA72E #1E52A7
square
#A71E97 #A7721E #1EA72E #1E52A7
split-complementary
#A71E97 #52A71E #1EA772
monochromatic
#3F0B39 #731568 #A71E97 #D92AC4 #E25DD2

Accessibility & contrast

On white

6.41
#A71E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A71E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E97
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E97#FFFFFF#000000##FFFFFF
##A71E971.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#516694
Tritanopia (blue-blind)
#AF2E5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71e97;
/* rgb */ color: rgb(167, 30, 151);
/* oklch */ color: oklch(51.2% 0.209 333.8);
Tailwind
colors: {
  custom: {
    50: '#c56db6',
    500: '#a71e97',
    950: '#000000',
  },
}
SCSS
$custom: #a71e97;
$custom-light: #c56db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e97",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 307.007,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.20911,
    "h": 333.8
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#A71E97
secondary
#5BC667
accent
#EC503B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71E97

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

Preview Lab → · Contrast checker → · Palette generator →

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