#A72197#A72197

#A72197 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.207 H 333.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A72197
RGBrgb(167, 33, 151)
HSLhsl(307, 67%, 39%)
HSVhsv(307, 80%, 65%)
CMYKcmyk(0%, 80.2%, 9.6%, 34.5%)
CIE-LABlab(40.47, 63.88, -33.26)
CIE-LCHlch(40.47, 72.02, 332.50°)
OKLaboklab(51.44% 0.1853 -0.0913)
OKLCHoklch(51.44% 0.207 333.8)
XYZxyz(22.0663, 11.5395, 30.3374)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72197 #21A731
analogous
#7421A7 #A72197 #A72154
triadic
#A72197 #97A721 #2197A7
tetradic
#A72197 #A77421 #21A731 #2154A7
square
#A72197 #A77421 #21A731 #2154A7
split-complementary
#A72197 #54A721 #21A774
monochromatic
#410D3B #741769 #A72197 #D62FC2 #E062D1

Accessibility & contrast

On white

6.35
#A72197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A72197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72197
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72197#FFFFFF#000000##FFFFFF
##A721971.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#AF305C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a72197;
/* rgb */ color: rgb(167, 33, 151);
/* oklch */ color: oklch(51.4% 0.207 333.8);
Tailwind
colors: {
  custom: {
    50: '#c56eb6',
    500: '#a72197',
    950: '#000000',
  },
}
SCSS
$custom: #a72197;
$custom-light: #c56eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72197",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 307.164,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.2066,
    "h": 333.8
  },
  "luminance": 0.11538
}

Semantic roles & 50–950 ramp

primary
#A72197
secondary
#5FC56B
accent
#EA523E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72197

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

Preview Lab → · Contrast checker → · Palette generator →

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