#A72BAC#A72BAC

#A72BAC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.213 H 326.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A72BAC
RGBrgb(167, 43, 172)
HSLhsl(298, 60%, 42%)
HSVhsv(298, 75%, 67%)
CMYKcmyk(2.9%, 75%, 0%, 32.5%)
CIE-LABlab(42.65, 64.31, -42.41)
CIE-LCHlch(42.65, 77.04, 326.60°)
OKLaboklab(53.36% 0.177 -0.1179)
OKLCHoklch(53.36% 0.213 326.3)
XYZxyz(24.2462, 12.9235, 40.2392)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72BAC #30AC2B
analogous
#662BAC #A72BAC #AC2B71
triadic
#A72BAC #ACA72B #2BACA7
tetradic
#A72BAC #AC662B #30AC2B #2B71AC
square
#A72BAC #AC662B #30AC2B #2B71AC
split-complementary
#A72BAC #71AC2B #2BAC66
monochromatic
#48134A #771F7B #A72BAC #CB44D0 #D875DC

Accessibility & contrast

On white

5.86
#A72BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A72BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72BAC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72BAC#FFFFFF#000000##FFFFFF
##A72BAC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#AB416A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a72bac;
/* rgb */ color: rgb(167, 43, 172);
/* oklch */ color: oklch(53.4% 0.213 326.3);
Tailwind
colors: {
  custom: {
    50: '#c572c5',
    500: '#a72bac',
    950: '#000000',
  },
}
SCSS
$custom: #a72bac;
$custom-light: #c572c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a72bac",
  "rgb": {
    "r": 167,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 297.674,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.21269,
    "h": 326.3
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#A72BAC
secondary
#72C46F
accent
#E3454B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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