#A72797#A72797

#A72797 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.201 H 333.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A72797
RGBrgb(167, 39, 151)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 77%, 65%)
CMYKcmyk(0%, 76.6%, 9.6%, 34.5%)
CIE-LABlab(41.06, 62.19, -32.33)
CIE-LCHlch(41.06, 70.09, 332.53°)
OKLaboklab(51.86% 0.1804 -0.0887)
OKLCHoklch(51.86% 0.201 333.8)
XYZxyz(22.2480, 11.9028, 30.3979)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72797 #27A737
analogous
#7727A7 #A72797 #A72757
triadic
#A72797 #97A727 #2797A7
tetradic
#A72797 #A77727 #27A737 #2757A7
square
#A72797 #A77727 #27A737 #2757A7
split-complementary
#A72797 #57A727 #27A777
monochromatic
#44103D #751B6A #A72797 #D13ABE #DD6CCF

Accessibility & contrast

On white

6.21
#A72797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A72797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72797
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72797#FFFFFF#000000##FFFFFF
##A727971.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#AF345D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72797;
/* rgb */ color: rgb(167, 39, 151);
/* oklch */ color: oklch(51.9% 0.201 333.8);
Tailwind
colors: {
  custom: {
    50: '#c570b6',
    500: '#a72797',
    950: '#000000',
  },
}
SCSS
$custom: #a72797;
$custom-light: #c570b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72797",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 307.5,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.20098,
    "h": 333.8
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#A72797
secondary
#67C372
accent
#E55743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72797

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

Preview Lab → · Contrast checker → · Palette generator →

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