#A72F97#A72F97

#A72F97 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.192 H 333.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A72F97
RGBrgb(167, 47, 151)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 71.9%, 9.6%, 34.5%)
CIE-LABlab(41.98, 59.58, -30.89)
CIE-LCHlch(41.98, 67.12, 332.59°)
OKLaboklab(52.52% 0.1727 -0.0846)
OKLCHoklch(52.52% 0.192 333.9)
XYZxyz(22.5390, 12.4848, 30.4949)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F97 #2FA73F
analogous
#7B2FA7 #A72F97 #A72F5B
triadic
#A72F97 #97A72F #2F97A7
tetradic
#A72F97 #A77B2F #2FA73F #2F5BA7
square
#A72F97 #A77B2F #2FA73F #2F5BA7
split-complementary
#A72F97 #5BA72F #2FA77B
monochromatic
#471441 #77226C #A72F97 #CB48BA #D978CC

Accessibility & contrast

On white

6.01
#A72F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A72F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F97
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F97#FFFFFF#000000##FFFFFF
##A72F971.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#AF3A5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a72f97;
/* rgb */ color: rgb(167, 47, 151);
/* oklch */ color: oklch(52.5% 0.192 333.9);
Tailwind
colors: {
  custom: {
    50: '#c573b6',
    500: '#a72f97',
    950: '#000000',
  },
}
SCSS
$custom: #a72f97;
$custom-light: #c573b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f97",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 308,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.1923,
    "h": 333.9
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

primary
#A72F97
secondary
#71C17C
accent
#DF5D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72F97

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

Preview Lab → · Contrast checker → · Palette generator →

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