#A71CA3#A71CA3

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

Color values

HEX#A71CA3
RGBrgb(167, 28, 163)
HSLhsl(302, 71%, 38%)
HSVhsv(302, 83%, 65%)
CMYKcmyk(0%, 83.2%, 2.4%, 34.5%)
CIE-LABlab(40.72, 66.91, -40.10)
CIE-LCHlch(40.72, 78.01, 329.07°)
OKLaboklab(51.83% 0.1888 -0.1111)
OKLCHoklch(51.83% 0.219 329.5)
XYZxyz(22.9623, 11.6922, 35.6907)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71CA3 #1CA720
analogous
#661CA7 #A71CA3 #A71C5D
triadic
#A71CA3 #A3A71C #1CA3A7
tetradic
#A71CA3 #A7661C #1CA720 #1C5DA7
square
#A71CA3 #A7661C #1CA720 #1C5DA7
split-complementary
#A71CA3 #5DA71C #1CA766
monochromatic
#3E0A3D #731370 #A71CA3 #DB26D5 #E35ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71CA3#FFFFFF#000000##FFFFFF
##A71CA31.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)
#0054A6
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#AD3462
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a71ca3;
/* rgb */ color: rgb(167, 28, 163);
/* oklch */ color: oklch(51.8% 0.219 329.5);
Tailwind
colors: {
  custom: {
    50: '#c56dbf',
    500: '#a71ca3',
    950: '#000000',
  },
}
SCSS
$custom: #a71ca3;
$custom-light: #c56dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a71ca3",
  "rgb": {
    "r": 167,
    "g": 28,
    "b": 163
  },
  "hsl": {
    "h": 301.727,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.21907,
    "h": 329.5
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#A71CA3
secondary
#58C75B
accent
#EE3F3A
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A71CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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