#A72EB7#A72EB7

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

Color values

HEX#A72EB7
RGBrgb(167, 46, 183)
HSLhsl(293, 60%, 45%)
HSVhsv(293, 75%, 72%)
CMYKcmyk(8.7%, 74.9%, 0%, 28.2%)
CIE-LABlab(43.64, 65.25, -47.32)
CIE-LCHlch(43.64, 80.60, 324.05°)
OKLaboklab(54.28% 0.1738 -0.1322)
OKLCHoklch(54.28% 0.218 322.7)
XYZxyz(25.4597, 13.5899, 46.0727)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72EB7 #3EB72E
analogous
#632EB7 #A72EB7 #B72E82
triadic
#A72EB7 #B7A72E #2EB7A7
tetradic
#A72EB7 #B7632E #3EB72E #2E82B7
square
#A72EB7 #B7632E #3EB72E #2E82B7
split-complementary
#A72EB7 #82B72E #2EB763
monochromatic
#4E1555 #7A2286 #A72EB7 #C34FD3 #D480DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A72EB7#FFFFFF#000000##FFFFFF
##A72EB71.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)
#005EBB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#A94871
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a72eb7;
/* rgb */ color: rgb(167, 46, 183);
/* oklch */ color: oklch(54.3% 0.218 322.7);
Tailwind
colors: {
  custom: {
    50: '#c574cd',
    500: '#a72eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a72eb7;
$custom-light: #c574cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a72eb7",
  "rgb": {
    "r": 167,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 292.993,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.21839,
    "h": 322.7
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#A72EB7
secondary
#82C879
accent
#E34557
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A72EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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