#A72BAA#A72BAA

#A72BAA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.211 H 327.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A72BAA
RGBrgb(167, 43, 170)
HSLhsl(299, 60%, 42%)
HSVhsv(299, 75%, 67%)
CMYKcmyk(1.8%, 74.7%, 0%, 33.3%)
CIE-LABlab(42.53, 63.98, -41.40)
CIE-LCHlch(42.53, 76.21, 327.09°)
OKLaboklab(53.25% 0.1771 -0.1149)
OKLCHoklch(53.25% 0.211 327)
XYZxyz(24.0555, 12.8472, 39.2352)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72BAA #2EAA2B
analogous
#682BAA #A72BAA #AA2B6E
triadic
#A72BAA #AAA72B #2BAAA7
tetradic
#A72BAA #AA682B #2EAA2B #2B6EAA
square
#A72BAA #AA682B #2EAA2B #2B6EAA
split-complementary
#A72BAA #6EAA2B #2BAA68
monochromatic
#471248 #771F79 #A72BAA #CC43CF #D974DC

Accessibility & contrast

On white

5.88
#A72BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A72BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72BAA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72BAA#FFFFFF#000000##FFFFFF
##A72BAA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAD
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#AC4069
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a72baa;
/* rgb */ color: rgb(167, 43, 170);
/* oklch */ color: oklch(53.2% 0.211 327.0);
Tailwind
colors: {
  custom: {
    50: '#c572c4',
    500: '#a72baa',
    950: '#000000',
  },
}
SCSS
$custom: #a72baa;
$custom-light: #c572c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72baa",
  "rgb": {
    "r": 167,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 298.583,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.21113,
    "h": 327
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#A72BAA
secondary
#70C36E
accent
#E34549
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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