#A72796#A72796

#A72796 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.200 H 334.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A72796
RGBrgb(167, 39, 150)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 77%, 65%)
CMYKcmyk(0%, 76.6%, 10.2%, 34.5%)
CIE-LABlab(41.01, 62.04, -31.81)
CIE-LCHlch(41.01, 69.72, 332.85°)
OKLaboklab(51.8% 0.1803 -0.0871)
OKLCHoklch(51.8% 0.2 334.2)
XYZxyz(22.1671, 11.8705, 29.9720)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72796 #27A738
analogous
#7827A7 #A72796 #A72756
triadic
#A72796 #96A727 #2796A7
tetradic
#A72796 #A77827 #27A738 #2756A7
square
#A72796 #A77827 #27A738 #2756A7
split-complementary
#A72796 #56A727 #27A778
monochromatic
#44103D #751B69 #A72796 #D13ABD #DD6CCE

Accessibility & contrast

On white

6.22
#A72796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A72796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72796
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72796#FFFFFF#000000##FFFFFF
##A727961.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#556793
Tritanopia (blue-blind)
#AF335D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72796;
/* rgb */ color: rgb(167, 39, 150);
/* oklch */ color: oklch(51.8% 0.200 334.2);
Tailwind
colors: {
  custom: {
    50: '#c570b5',
    500: '#a72796',
    950: '#000000',
  },
}
SCSS
$custom: #a72796;
$custom-light: #c570b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a72796",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 307.969,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.20027,
    "h": 334.2
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#A72796
secondary
#67C373
accent
#E55843
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72796

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

Preview Lab → · Contrast checker → · Palette generator →

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