#A72FAC#A72FAC

#A72FAC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.208 H 326.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A72FAC
RGBrgb(167, 47, 172)
HSLhsl(298, 57%, 43%)
HSVhsv(298, 73%, 67%)
CMYKcmyk(2.9%, 72.7%, 0%, 32.5%)
CIE-LABlab(43.11, 63.00, -41.68)
CIE-LCHlch(43.11, 75.54, 326.51°)
OKLaboklab(53.69% 0.1734 -0.1158)
OKLCHoklch(53.69% 0.208 326.3)
XYZxyz(24.3988, 13.2287, 40.2900)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FAC #34AC2F
analogous
#682FAC #A72FAC #AC2F72
triadic
#A72FAC #ACA72F #2FACA7
tetradic
#A72FAC #AC682F #34AC2F #2F72AC
square
#A72FAC #AC682F #34AC2F #2F72AC
split-complementary
#A72FAC #72AC2F #2FAC68
monochromatic
#4A154C #78227C #A72FAC #C84BCE #D77BDB

Accessibility & contrast

On white

5.76
#A72FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A72FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FAC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FAC#FFFFFF#000000##FFFFFF
##A72FAC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#AB446B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a72fac;
/* rgb */ color: rgb(167, 47, 172);
/* oklch */ color: oklch(53.7% 0.208 326.3);
Tailwind
colors: {
  custom: {
    50: '#c574c5',
    500: '#a72fac',
    950: '#000000',
  },
}
SCSS
$custom: #a72fac;
$custom-light: #c574c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fac",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 297.6,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.20848,
    "h": 326.3
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#A72FAC
secondary
#77C374
accent
#E0474E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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