#A72FB1#A72FB1

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

Color values

HEX#A72FB1
RGBrgb(167, 47, 177)
HSLhsl(295, 58%, 44%)
HSVhsv(295, 73%, 69%)
CMYKcmyk(5.6%, 73.4%, 0%, 30.6%)
CIE-LABlab(43.40, 63.86, -44.18)
CIE-LCHlch(43.40, 77.65, 325.33°)
OKLaboklab(53.99% 0.1732 -0.1231)
OKLCHoklch(53.99% 0.212 324.6)
XYZxyz(24.8880, 13.4244, 42.8667)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FB1 #39B12F
analogous
#662FB1 #A72FB1 #B12F7A
triadic
#A72FB1 #B1A72F #2FB1A7
tetradic
#A72FB1 #B1662F #39B12F #2F7AB1
square
#A72FB1 #B1662F #39B12F #2F7AB1
split-complementary
#A72FB1 #7AB12F #2FB166
monochromatic
#4C1550 #792281 #A72FB1 #C64DD0 #D57EDD

Accessibility & contrast

On white

5.70
#A72FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A72FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FB1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FB1#FFFFFF#000000##FFFFFF
##A72FB11.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#496BAE
Tritanopia (blue-blind)
#AA466E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a72fb1;
/* rgb */ color: rgb(167, 47, 177);
/* oklch */ color: oklch(54.0% 0.212 324.6);
Tailwind
colors: {
  custom: {
    50: '#c574c9',
    500: '#a72fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a72fb1;
$custom-light: #c574c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fb1",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 295.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.21248,
    "h": 324.6
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#A72FB1
secondary
#7DC576
accent
#E14752
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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