#A72F96#A72F96

#A72F96 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.192 H 334.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A72F96
RGBrgb(167, 47, 150)
HSLhsl(309, 56%, 42%)
HSVhsv(309, 72%, 65%)
CMYKcmyk(0%, 71.9%, 10.2%, 34.5%)
CIE-LABlab(41.93, 59.43, -30.37)
CIE-LCHlch(41.93, 66.74, 332.93°)
OKLaboklab(52.46% 0.1726 -0.0831)
OKLCHoklch(52.46% 0.192 334.3)
XYZxyz(22.4581, 12.4524, 30.0690)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F96 #2FA740
analogous
#7C2FA7 #A72F96 #A72F5A
triadic
#A72F96 #96A72F #2F96A7
tetradic
#A72F96 #A77C2F #2FA740 #2F5AA7
square
#A72F96 #A77C2F #2FA740 #2F5AA7
split-complementary
#A72F96 #5AA72F #2FA77C
monochromatic
#471440 #77226B #A72F96 #CB48B9 #D978CB

Accessibility & contrast

On white

6.02
#A72F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A72F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F96
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F96#FFFFFF#000000##FFFFFF
##A72F961.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5899
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#AF395F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a72f96;
/* rgb */ color: rgb(167, 47, 150);
/* oklch */ color: oklch(52.5% 0.192 334.3);
Tailwind
colors: {
  custom: {
    50: '#c573b5',
    500: '#a72f96',
    950: '#000000',
  },
}
SCSS
$custom: #a72f96;
$custom-light: #c573b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f96",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 308.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.19157,
    "h": 334.3
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#A72F96
secondary
#71C17C
accent
#DF5E48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72F96

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

Preview Lab → · Contrast checker → · Palette generator →

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