#A72FB5#A72FB5

#A72FB5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.216 H 323.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A72FB5
RGBrgb(167, 47, 181)
HSLhsl(294, 59%, 45%)
HSVhsv(294, 74%, 71%)
CMYKcmyk(7.7%, 74%, 0%, 29%)
CIE-LABlab(43.63, 64.56, -46.16)
CIE-LCHlch(43.63, 79.36, 324.44°)
OKLaboklab(54.24% 0.173 -0.1288)
OKLCHoklch(54.24% 0.216 323.3)
XYZxyz(25.2926, 13.5862, 44.9973)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FB5 #3DB52F
analogous
#642FB5 #A72FB5 #B52F80
triadic
#A72FB5 #B5A72F #2FB5A7
tetradic
#A72FB5 #B5642F #3DB52F #2F80B5
square
#A72FB5 #B5642F #3DB52F #2F80B5
split-complementary
#A72FB5 #80B52F #2FB564
monochromatic
#4D1654 #7A2284 #A72FB5 #C450D1 #D480DE

Accessibility & contrast

On white

5.65
#A72FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A72FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FB5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FB5#FFFFFF#000000##FFFFFF
##A72FB51.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#AA4870
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a72fb5;
/* rgb */ color: rgb(167, 47, 181);
/* oklch */ color: oklch(54.2% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#c574cc',
    500: '#a72fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a72fb5;
$custom-light: #c574cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fb5",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 293.731,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.21572,
    "h": 323.3
  },
  "luminance": 0.13585
}

Semantic roles & 50–950 ramp

primary
#A72FB5
secondary
#81C779
accent
#E24656
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A72FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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