#A72BB1#A72BB1

#A72BB1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.217 H 324.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A72BB1
RGBrgb(167, 43, 177)
HSLhsl(296, 61%, 43%)
HSVhsv(296, 76%, 69%)
CMYKcmyk(5.6%, 75.7%, 0%, 30.6%)
CIE-LABlab(42.94, 65.16, -44.90)
CIE-LCHlch(42.94, 79.13, 325.43°)
OKLaboklab(53.67% 0.1768 -0.1251)
OKLCHoklch(53.67% 0.217 324.7)
XYZxyz(24.7354, 13.1192, 42.8159)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72BB1 #35B12B
analogous
#642BB1 #A72BB1 #B12B78
triadic
#A72BB1 #B1A72B #2BB1A7
tetradic
#A72BB1 #B1642B #35B12B #2B78B1
square
#A72BB1 #B1642B #35B12B #2B78B1
split-complementary
#A72BB1 #78B12B #2BB164
monochromatic
#4A134F #791F80 #A72BB1 #C847D2 #D778DE

Accessibility & contrast

On white

5.80
#A72BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A72BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72BB1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72BB1#FFFFFF#000000##FFFFFF
##A72BB11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#AB446D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a72bb1;
/* rgb */ color: rgb(167, 43, 177);
/* oklch */ color: oklch(53.7% 0.217 324.7);
Tailwind
colors: {
  custom: {
    50: '#c572c9',
    500: '#a72bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a72bb1;
$custom-light: #c572c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a72bb1",
  "rgb": {
    "r": 167,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 295.522,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.21661,
    "h": 324.7
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#A72BB1
secondary
#78C672
accent
#E44450
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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