#A72FA8#A72FA8

#A72FA8 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.205 H 327.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A72FA8
RGBrgb(167, 47, 168)
HSLhsl(300, 56%, 42%)
HSVhsv(300, 72%, 66%)
CMYKcmyk(0.6%, 72%, 0%, 34.1%)
CIE-LABlab(42.88, 62.33, -39.66)
CIE-LCHlch(42.88, 73.88, 327.53°)
OKLaboklab(53.46% 0.1734 -0.1099)
OKLCHoklch(53.46% 0.205 327.6)
XYZxyz(24.0204, 13.0774, 38.2972)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FA8 #30A82F
analogous
#6B2FA8 #A72FA8 #A82F6D
triadic
#A72FA8 #A8A72F #2FA8A7
tetradic
#A72FA8 #A86B2F #30A82F #2F6DA8
square
#A72FA8 #A86B2F #30A82F #2F6DA8
split-complementary
#A72FA8 #6DA82F #2FA86B
monochromatic
#481448 #772278 #A72FA8 #CB48CC #D878D9

Accessibility & contrast

On white

5.81
#A72FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A72FA8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FA8#FFFFFF#000000##FFFFFF
##A72FA81.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAB
Deuteranopia (green-blind)
#4E6BA5
Tritanopia (blue-blind)
#AC4269
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a72fa8;
/* rgb */ color: rgb(167, 47, 168);
/* oklch */ color: oklch(53.5% 0.205 327.6);
Tailwind
colors: {
  custom: {
    50: '#c574c2',
    500: '#a72fa8',
    950: '#000000',
  },
}
SCSS
$custom: #a72fa8;
$custom-light: #c574c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fa8",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 299.504,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.2053,
    "h": 327.6
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#A72FA8
secondary
#72C171
accent
#E04849
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A72FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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