#A72FA7#A72FA7

#A72FA7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.205 H 328.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A72FA7
RGBrgb(167, 47, 167)
HSLhsl(300, 56%, 42%)
HSVhsv(300, 72%, 65%)
CMYKcmyk(0%, 71.9%, 0%, 34.5%)
CIE-LABlab(42.82, 62.16, -39.15)
CIE-LCHlch(42.82, 73.46, 327.79°)
OKLaboklab(53.4% 0.1734 -0.1084)
OKLCHoklch(53.4% 0.205 328)
XYZxyz(23.9276, 13.0403, 37.8085)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FA7 #2FA72F
analogous
#6B2FA7 #A72FA7 #A72F6B
triadic
#A72FA7 #A7A72F #2FA7A7
tetradic
#A72FA7 #A76B2F #2FA72F #2F6BA7
square
#A72FA7 #A76B2F #2FA72F #2F6BA7
split-complementary
#A72FA7 #6BA72F #2FA76B
monochromatic
#471447 #772277 #A72FA7 #CB48CB #D978D9

Accessibility & contrast

On white

5.82
#A72FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A72FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FA7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FA7#FFFFFF#000000##FFFFFF
##A72FA71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195BAA
Deuteranopia (green-blind)
#4F6BA4
Tritanopia (blue-blind)
#AC4168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a72fa7;
/* rgb */ color: rgb(167, 47, 167);
/* oklch */ color: oklch(53.4% 0.205 328.0);
Tailwind
colors: {
  custom: {
    50: '#c574c1',
    500: '#a72fa7',
    950: '#000000',
  },
}
SCSS
$custom: #a72fa7;
$custom-light: #c574c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fa7",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 300,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.20452,
    "h": 328
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#A72FA7
secondary
#71C171
accent
#DF4848
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A72FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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