#A72497#A72497

#A72497 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.204 H 333.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A72497
RGBrgb(167, 36, 151)
HSLhsl(307, 65%, 40%)
HSVhsv(307, 78%, 65%)
CMYKcmyk(0%, 78.4%, 9.6%, 34.5%)
CIE-LABlab(40.76, 63.06, -32.81)
CIE-LCHlch(40.76, 71.09, 332.51°)
OKLaboklab(51.64% 0.1829 -0.09)
OKLCHoklch(51.64% 0.204 333.8)
XYZxyz(22.1533, 11.7136, 30.3664)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72497 #24A734
analogous
#7524A7 #A72497 #A72456
triadic
#A72497 #97A724 #2497A7
tetradic
#A72497 #A77524 #24A734 #2456A7
square
#A72497 #A77524 #24A734 #2456A7
split-complementary
#A72497 #56A724 #24A775
monochromatic
#420E3C #751969 #A72497 #D335C0 #DE67D0

Accessibility & contrast

On white

6.28
#A72497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A72497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72497
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72497#FFFFFF#000000##FFFFFF
##A724971.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#AF325C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a72497;
/* rgb */ color: rgb(167, 36, 151);
/* oklch */ color: oklch(51.6% 0.204 333.8);
Tailwind
colors: {
  custom: {
    50: '#c56fb6',
    500: '#a72497',
    950: '#000000',
  },
}
SCSS
$custom: #a72497;
$custom-light: #c56fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72497",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 307.328,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.20388,
    "h": 333.8
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#A72497
secondary
#63C46F
accent
#E85540
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72497

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

Preview Lab → · Contrast checker → · Palette generator →

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