#A72F94#A72F94

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

Color values

HEX#A72F94
RGBrgb(167, 47, 148)
HSLhsl(310, 56%, 42%)
HSVhsv(310, 72%, 65%)
CMYKcmyk(0%, 71.9%, 11.4%, 34.5%)
CIE-LABlab(41.83, 59.12, -29.31)
CIE-LCHlch(41.83, 65.99, 333.63°)
OKLaboklab(52.36% 0.1724 -0.08)
OKLCHoklch(52.36% 0.19 335.1)
XYZxyz(22.2984, 12.3886, 29.2281)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F94 #2FA742
analogous
#7E2FA7 #A72F94 #A72F58
triadic
#A72F94 #94A72F #2F94A7
tetradic
#A72F94 #A77E2F #2FA742 #2F58A7
square
#A72F94 #A77E2F #2FA742 #2F58A7
split-complementary
#A72F94 #58A72F #2FA77E
monochromatic
#47143F #77226A #A72F94 #CB48B7 #D978C9

Accessibility & contrast

On white

6.04
#A72F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A72F94
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F94#FFFFFF#000000##FFFFFF
##A72F941.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5797
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#AF385E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a72f94;
/* rgb */ color: rgb(167, 47, 148);
/* oklch */ color: oklch(52.4% 0.190 335.1);
Tailwind
colors: {
  custom: {
    50: '#c573b4',
    500: '#a72f94',
    950: '#000000',
  },
}
SCSS
$custom: #a72f94;
$custom-light: #c573b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f94",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 309.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.19011,
    "h": 335.1
  },
  "luminance": 0.12387
}

Semantic roles & 50–950 ramp

primary
#A72F94
secondary
#71C17E
accent
#DF6048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72F94

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

Preview Lab → · Contrast checker → · Palette generator →

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