#A72FB4#A72FB4

#A72FB4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.215 H 323.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A72FB4
RGBrgb(167, 47, 180)
HSLhsl(294, 59%, 45%)
HSVhsv(294, 74%, 71%)
CMYKcmyk(7.2%, 73.9%, 0%, 29.4%)
CIE-LABlab(43.57, 64.39, -45.66)
CIE-LCHlch(43.57, 78.94, 324.66°)
OKLaboklab(54.18% 0.1731 -0.1274)
OKLCHoklch(54.18% 0.215 323.6)
XYZxyz(25.1903, 13.5453, 44.4589)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FB4 #3CB42F
analogous
#642FB4 #A72FB4 #B42F7F
triadic
#A72FB4 #B4A72F #2FB4A7
tetradic
#A72FB4 #B4642F #3CB42F #2F7FB4
square
#A72FB4 #B4642F #3CB42F #2F7FB4
split-complementary
#A72FB4 #7FB42F #2FB464
monochromatic
#4D1653 #7A2283 #A72FB4 #C44FD1 #D580DE

Accessibility & contrast

On white

5.66
#A72FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A72FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FB4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FB4#FFFFFF#000000##FFFFFF
##A72FB41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#AA476F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a72fb4;
/* rgb */ color: rgb(167, 47, 180);
/* oklch */ color: oklch(54.2% 0.215 323.6);
Tailwind
colors: {
  custom: {
    50: '#c574cb',
    500: '#a72fb4',
    950: '#000000',
  },
}
SCSS
$custom: #a72fb4;
$custom-light: #c574cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fb4",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 294.135,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.21491,
    "h": 323.6
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#A72FB4
secondary
#80C778
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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