#A720A2#A720A2

#A720A2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.215 H 329.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A720A2
RGBrgb(167, 32, 162)
HSLhsl(302, 68%, 39%)
HSVhsv(302, 81%, 65%)
CMYKcmyk(0%, 80.8%, 3%, 34.5%)
CIE-LABlab(40.99, 65.81, -39.07)
CIE-LCHlch(40.99, 76.54, 329.30°)
OKLaboklab(52% 0.1861 -0.1081)
OKLCHoklch(52% 0.215 329.9)
XYZxyz(22.9743, 11.8590, 35.2544)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A720A2 #20A725
analogous
#6920A7 #A720A2 #A7205F
triadic
#A720A2 #A2A720 #20A2A7
tetradic
#A720A2 #A76920 #20A725 #205FA7
square
#A720A2 #A76920 #20A725 #205FA7
split-complementary
#A720A2 #5FA720 #20A769
monochromatic
#400C3E #741670 #A720A2 #D72DD1 #E161DC

Accessibility & contrast

On white

6.23
#A720A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A720A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A720A2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A720A2#FFFFFF#000000##FFFFFF
##A720A21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#AD3662
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a720a2;
/* rgb */ color: rgb(167, 32, 162);
/* oklch */ color: oklch(52.0% 0.215 329.9);
Tailwind
colors: {
  custom: {
    50: '#c56ebe',
    500: '#a720a2',
    950: '#000000',
  },
}
SCSS
$custom: #a720a2;
$custom-light: #c56ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#a720a2",
  "rgb": {
    "r": 167,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 302.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52,
    "c": 0.21526,
    "h": 329.9
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#A720A2
secondary
#5DC561
accent
#EB443D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A720A2

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

Preview Lab → · Contrast checker → · Palette generator →

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