#A72FA1#A72FA1

#A72FA1 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.1% C 0.200 H 330.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A72FA1
RGBrgb(167, 47, 161)
HSLhsl(303, 56%, 42%)
HSVhsv(303, 72%, 65%)
CMYKcmyk(0%, 71.9%, 3.6%, 34.5%)
CIE-LABlab(42.50, 61.17, -36.09)
CIE-LCHlch(42.50, 71.02, 329.46°)
OKLaboklab(53.06% 0.1733 -0.0996)
OKLCHoklch(53.06% 0.2 330.1)
XYZxyz(23.3858, 12.8235, 34.9548)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FA1 #2FA735
analogous
#712FA7 #A72FA1 #A72F65
triadic
#A72FA1 #A1A72F #2FA1A7
tetradic
#A72FA1 #A7712F #2FA735 #2F65A7
square
#A72FA1 #A7712F #2FA735 #2F65A7
split-complementary
#A72FA1 #65A72F #2FA771
monochromatic
#471445 #772273 #A72FA1 #CB48C5 #D978D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A72FA1#FFFFFF#000000##FFFFFF
##A72FA11.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)
#225AA4
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#AD3E65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a72fa1;
/* rgb */ color: rgb(167, 47, 161);
/* oklch */ color: oklch(53.1% 0.200 330.1);
Tailwind
colors: {
  custom: {
    50: '#c573bd',
    500: '#a72fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a72fa1;
$custom-light: #c573bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fa1",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 303,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.19985,
    "h": 330.1
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#A72FA1
secondary
#71C175
accent
#DF5048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A72FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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