#A721AF#A721AF

#A721AF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.224 H 325.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A721AF
RGBrgb(167, 33, 175)
HSLhsl(297, 68%, 41%)
HSVhsv(297, 81%, 69%)
CMYKcmyk(4.6%, 81.1%, 0%, 31.4%)
CIE-LABlab(41.84, 67.65, -45.47)
CIE-LCHlch(41.84, 81.51, 326.09°)
OKLaboklab(52.85% 0.1848 -0.1267)
OKLCHoklch(52.85% 0.224 325.5)
XYZxyz(24.2175, 12.4000, 41.6670)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A721AF #29AF21
analogous
#6021AF #A721AF #AF2170
triadic
#A721AF #AFA721 #21AFA7
tetradic
#A721AF #AF6021 #29AF21 #2170AF
square
#A721AF #AF6021 #29AF21 #2170AF
split-complementary
#A721AF #70AF21 #21AF60
monochromatic
#450E48 #76177C #A721AF #D034D9 #DC68E3

Accessibility & contrast

On white

6.04
#A721AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A721AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A721AF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A721AF#FFFFFF#000000##FFFFFF
##A721AF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#AB3D69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a721af;
/* rgb */ color: rgb(167, 33, 175);
/* oklch */ color: oklch(52.9% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#c56fc7',
    500: '#a721af',
    950: '#000000',
  },
}
SCSS
$custom: #a721af;
$custom-light: #c56fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a721af",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 296.62,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.22404,
    "h": 325.5
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#A721AF
secondary
#69C864
accent
#EB3D47
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A721AF

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

Preview Lab → · Contrast checker → · Palette generator →

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