#A72F98#A72F98

#A72F98 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.193 H 333.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A72F98
RGBrgb(167, 47, 152)
HSLhsl(308, 56%, 42%)
HSVhsv(308, 72%, 65%)
CMYKcmyk(0%, 71.9%, 9%, 34.5%)
CIE-LABlab(42.03, 59.74, -31.42)
CIE-LCHlch(42.03, 67.50, 332.26°)
OKLaboklab(52.57% 0.1728 -0.0861)
OKLCHoklch(52.57% 0.193 333.5)
XYZxyz(22.6205, 12.5174, 30.9244)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72F98 #2FA73E
analogous
#7A2FA7 #A72F98 #A72F5C
triadic
#A72F98 #98A72F #2F98A7
tetradic
#A72F98 #A77A2F #2FA73E #2F5CA7
square
#A72F98 #A77A2F #2FA73E #2F5CA7
split-complementary
#A72F98 #5CA72F #2FA77A
monochromatic
#471441 #77226D #A72F98 #CB48BB #D978CD

Accessibility & contrast

On white

5.99
#A72F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A72F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72F98
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72F98#FFFFFF#000000##FFFFFF
##A72F981.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#AF3A60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a72f98;
/* rgb */ color: rgb(167, 47, 152);
/* oklch */ color: oklch(52.6% 0.193 333.5);
Tailwind
colors: {
  custom: {
    50: '#c573b6',
    500: '#a72f98',
    950: '#000000',
  },
}
SCSS
$custom: #a72f98;
$custom-light: #c573b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72f98",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 307.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52568,
    "c": 0.19304,
    "h": 333.5
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#A72F98
secondary
#71C17B
accent
#DF5B48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72F98

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

Preview Lab → · Contrast checker → · Palette generator →

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