#A72AAB#A72AAB

#A72AAB is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 326.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A72AAB
RGBrgb(167, 42, 171)
HSLhsl(298, 61%, 42%)
HSVhsv(298, 75%, 67%)
CMYKcmyk(2.3%, 75.4%, 0%, 32.9%)
CIE-LABlab(42.48, 64.46, -42.08)
CIE-LCHlch(42.48, 76.98, 326.86°)
OKLaboklab(53.23% 0.1779 -0.1169)
OKLCHoklch(53.23% 0.213 326.7)
XYZxyz(24.1146, 12.8134, 39.7233)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72AAB #2EAB2A
analogous
#672AAB #A72AAB #AB2A6E
triadic
#A72AAB #ABA72A #2AABA7
tetradic
#A72AAB #AB672A #2EAB2A #2A6EAB
square
#A72AAB #AB672A #2EAB2A #2A6EAB
split-complementary
#A72AAB #6EAB2A #2AAB67
monochromatic
#471249 #771E7A #A72AAB #CC42D1 #D973DD

Accessibility & contrast

On white

5.89
#A72AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A72AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72AAB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72AAB#FFFFFF#000000##FFFFFF
##A72AAB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4A6AA8
Tritanopia (blue-blind)
#AC4069
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a72aab;
/* rgb */ color: rgb(167, 42, 171);
/* oklch */ color: oklch(53.2% 0.213 326.7);
Tailwind
colors: {
  custom: {
    50: '#c572c4',
    500: '#a72aab',
    950: '#000000',
  },
}
SCSS
$custom: #a72aab;
$custom-light: #c572c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72aab",
  "rgb": {
    "r": 167,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 298.14,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53227,
    "c": 0.21291,
    "h": 326.7
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#A72AAB
secondary
#70C46D
accent
#E44449
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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