#A72FB7#A72FB7

#A72FB7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.217 H 322.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A72FB7
RGBrgb(167, 47, 183)
HSLhsl(293, 59%, 45%)
HSVhsv(293, 74%, 72%)
CMYKcmyk(8.7%, 74.3%, 0%, 28.2%)
CIE-LABlab(43.75, 64.92, -47.14)
CIE-LCHlch(43.75, 80.23, 324.01°)
OKLaboklab(54.36% 0.1729 -0.1317)
OKLCHoklch(54.36% 0.217 322.7)
XYZxyz(25.4993, 13.6689, 46.0858)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FB7 #3FB72F
analogous
#632FB7 #A72FB7 #B72F83
triadic
#A72FB7 #B7A72F #2FB7A7
tetradic
#A72FB7 #B7632F #3FB72F #2F83B7
square
#A72FB7 #B7632F #3FB72F #2F83B7
split-complementary
#A72FB7 #83B72F #2FB763
monochromatic
#4E1656 #7B2286 #A72FB7 #C351D2 #D482DF

Accessibility & contrast

On white

5.62
#A72FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A72FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FB7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FB7#FFFFFF#000000##FFFFFF
##A72FB71.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#A94971
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a72fb7;
/* rgb */ color: rgb(167, 47, 183);
/* oklch */ color: oklch(54.4% 0.217 322.7);
Tailwind
colors: {
  custom: {
    50: '#c574cd',
    500: '#a72fb7',
    950: '#000000',
  },
}
SCSS
$custom: #a72fb7;
$custom-light: #c574cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fb7",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 292.941,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.21735,
    "h": 322.7
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#A72FB7
secondary
#83C87A
accent
#E24558
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A72FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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