#A72D97#A72D97

#A72D97 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.195 H 333.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A72D97
RGBrgb(167, 45, 151)
HSLhsl(308, 58%, 42%)
HSVhsv(308, 73%, 65%)
CMYKcmyk(0%, 73.1%, 9.6%, 34.5%)
CIE-LABlab(41.73, 60.27, -31.28)
CIE-LCHlch(41.73, 67.90, 332.57°)
OKLaboklab(52.34% 0.1747 -0.0856)
OKLCHoklch(52.34% 0.195 333.9)
XYZxyz(22.4608, 12.3285, 30.4689)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72D97 #2DA73D
analogous
#7A2DA7 #A72D97 #A72D5A
triadic
#A72D97 #97A72D #2D97A7
tetradic
#A72D97 #A77A2D #2DA73D #2D5AA7
square
#A72D97 #A77A2D #2DA73D #2D5AA7
split-complementary
#A72D97 #5AA72D #2DA77A
monochromatic
#471340 #77206B #A72D97 #CD44BB #DA75CC

Accessibility & contrast

On white

6.06
#A72D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A72D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72D97
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72D97#FFFFFF#000000##FFFFFF
##A72D971.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#AF385F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a72d97;
/* rgb */ color: rgb(167, 45, 151);
/* oklch */ color: oklch(52.3% 0.195 333.9);
Tailwind
colors: {
  custom: {
    50: '#c572b6',
    500: '#a72d97',
    950: '#000000',
  },
}
SCSS
$custom: #a72d97;
$custom-light: #c572b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72d97",
  "rgb": {
    "r": 167,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 307.869,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.1946,
    "h": 333.9
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#A72D97
secondary
#6EC179
accent
#E15B47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72D97

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

Preview Lab → · Contrast checker → · Palette generator →

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