#A72998#A72998

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

Color values

HEX#A72998
RGBrgb(167, 41, 152)
HSLhsl(307, 61%, 41%)
HSVhsv(307, 75%, 65%)
CMYKcmyk(0%, 75.4%, 9%, 34.5%)
CIE-LABlab(41.33, 61.73, -32.52)
CIE-LCHlch(41.33, 69.77, 332.22°)
OKLaboklab(52.07% 0.1786 -0.0892)
OKLCHoklch(52.07% 0.2 333.5)
XYZxyz(22.3969, 12.0703, 30.8499)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72998 #29A738
analogous
#7729A7 #A72998 #A72959
triadic
#A72998 #98A729 #2998A7
tetradic
#A72998 #A77729 #29A738 #2959A7
square
#A72998 #A77729 #29A738 #2959A7
split-complementary
#A72998 #59A729 #29A777
monochromatic
#45113F #761D6B #A72998 #D03EBE #DC6FCF

Accessibility & contrast

On white

6.15
#A72998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A72998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72998
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72998#FFFFFF#000000##FFFFFF
##A729981.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#AF365E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72998;
/* rgb */ color: rgb(167, 41, 152);
/* oklch */ color: oklch(52.1% 0.200 333.5);
Tailwind
colors: {
  custom: {
    50: '#c571b6',
    500: '#a72998',
    950: '#000000',
  },
}
SCSS
$custom: #a72998;
$custom-light: #c571b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72998",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 307.143,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.19966,
    "h": 333.5
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#A72998
secondary
#69C274
accent
#E45744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72998

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

Preview Lab → · Contrast checker → · Palette generator →

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