#A72F95#A72F95

#A72F95 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.191 H 334.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A72F95
RGBrgb(167, 47, 149)
HSLhsl(309, 56%, 42%)
HSVhsv(309, 72%, 65%)
CMYKcmyk(0%, 71.9%, 10.8%, 34.5%)
CIE-LABlab(41.88, 59.27, -29.84)
CIE-LCHlch(41.88, 66.36, 333.28°)
OKLaboklab(52.41% 0.1725 -0.0815)
OKLCHoklch(52.41% 0.191 334.7)
XYZxyz(22.3779, 12.4204, 29.6467)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F95 #2FA741
analogous
#7D2FA7 #A72F95 #A72F59
triadic
#A72F95 #95A72F #2F95A7
tetradic
#A72F95 #A77D2F #2FA741 #2F59A7
square
#A72F95 #A77D2F #2FA741 #2F59A7
split-complementary
#A72F95 #59A72F #2FA77D
monochromatic
#471440 #77226A #A72F95 #CB48B8 #D978CA

Accessibility & contrast

On white

6.03
#A72F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A72F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F95
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F95#FFFFFF#000000##FFFFFF
##A72F951.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5798
Deuteranopia (green-blind)
#586992
Tritanopia (blue-blind)
#AF395E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a72f95;
/* rgb */ color: rgb(167, 47, 149);
/* oklch */ color: oklch(52.4% 0.191 334.7);
Tailwind
colors: {
  custom: {
    50: '#c573b4',
    500: '#a72f95',
    950: '#000000',
  },
}
SCSS
$custom: #a72f95;
$custom-light: #c573b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f95",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 309,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.19084,
    "h": 334.7
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#A72F95
secondary
#71C17D
accent
#DF5F48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72F95

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

Preview Lab → · Contrast checker → · Palette generator →

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