#A72A98#A72A98

#A72A98 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.199 H 333.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A72A98
RGBrgb(167, 42, 152)
HSLhsl(307, 60%, 41%)
HSVhsv(307, 75%, 65%)
CMYKcmyk(0%, 74.9%, 9%, 34.5%)
CIE-LABlab(41.44, 61.41, -32.34)
CIE-LCHlch(41.44, 69.41, 332.23°)
OKLaboklab(52.14% 0.1777 -0.0887)
OKLCHoklch(52.14% 0.199 333.5)
XYZxyz(22.4320, 12.1403, 30.8616)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72A98 #2AA739
analogous
#772AA7 #A72A98 #A72A59
triadic
#A72A98 #98A72A #2A98A7
tetradic
#A72A98 #A7772A #2AA739 #2A59A7
square
#A72A98 #A7772A #2AA739 #2A59A7
split-complementary
#A72A98 #59A72A #2AA777
monochromatic
#45113F #761E6B #A72A98 #CF3FBE #DB70CE

Accessibility & contrast

On white

6.13
#A72A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A72A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72A98
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72A98#FFFFFF#000000##FFFFFF
##A72A981.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#AF375F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a72a98;
/* rgb */ color: rgb(167, 42, 152);
/* oklch */ color: oklch(52.1% 0.199 333.5);
Tailwind
colors: {
  custom: {
    50: '#c571b6',
    500: '#a72a98',
    950: '#000000',
  },
}
SCSS
$custom: #a72a98;
$custom-light: #c571b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72a98",
  "rgb": {
    "r": 167,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 307.2,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.19861,
    "h": 333.5
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#A72A98
secondary
#6BC275
accent
#E35845
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72A98

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

Preview Lab → · Contrast checker → · Palette generator →

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