#A72BB7#A72BB7

#A72BB7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.221 H 322.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A72BB7
RGBrgb(167, 43, 183)
HSLhsl(293, 62%, 44%)
HSVhsv(293, 77%, 72%)
CMYKcmyk(8.7%, 76.5%, 0%, 28.2%)
CIE-LABlab(43.31, 66.20, -47.86)
CIE-LCHlch(43.31, 81.69, 324.14°)
OKLaboklab(54.04% 0.1764 -0.1338)
OKLCHoklch(54.04% 0.221 322.8)
XYZxyz(25.3466, 13.3637, 46.0350)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72BB7 #3BB72B
analogous
#612BB7 #A72BB7 #B72B81
triadic
#A72BB7 #B7A72B #2BB7A7
tetradic
#A72BB7 #B7612B #3BB72B #2B81B7
square
#A72BB7 #B7612B #3BB72B #2B81B7
split-complementary
#A72BB7 #81B72B #2BB761
monochromatic
#4D1454 #7A1F85 #A72BB7 #C54BD5 #D57CE0

Accessibility & contrast

On white

5.72
#A72BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A72BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72BB7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72BB7#FFFFFF#000000##FFFFFF
##A72BB71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#A94670
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a72bb7;
/* rgb */ color: rgb(167, 43, 183);
/* oklch */ color: oklch(54.0% 0.221 322.8);
Tailwind
colors: {
  custom: {
    50: '#c573cd',
    500: '#a72bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a72bb7;
$custom-light: #c573cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a72bb7",
  "rgb": {
    "r": 167,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 293.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.22138,
    "h": 322.8
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#A72BB7
secondary
#7FC975
accent
#E54355
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A72BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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