#A72FA2#A72FA2

#A72FA2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.201 H 329.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A72FA2
RGBrgb(167, 47, 162)
HSLhsl(303, 56%, 42%)
HSVhsv(303, 72%, 65%)
CMYKcmyk(0%, 71.9%, 3%, 34.5%)
CIE-LABlab(42.55, 61.33, -36.60)
CIE-LCHlch(42.55, 71.43, 329.17°)
OKLaboklab(53.11% 0.1733 -0.101)
OKLCHoklch(53.11% 0.201 329.8)
XYZxyz(23.4743, 12.8589, 35.4211)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FA2 #2FA734
analogous
#702FA7 #A72FA2 #A72F66
triadic
#A72FA2 #A2A72F #2FA2A7
tetradic
#A72FA2 #A7702F #2FA734 #2F66A7
square
#A72FA2 #A7702F #2FA734 #2F66A7
split-complementary
#A72FA2 #66A72F #2FA770
monochromatic
#471445 #772274 #A72FA2 #CB48C6 #D978D5

Accessibility & contrast

On white

5.88
#A72FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A72FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FA2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FA2#FFFFFF#000000##FFFFFF
##A72FA21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#AD3F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a72fa2;
/* rgb */ color: rgb(167, 47, 162);
/* oklch */ color: oklch(53.1% 0.201 329.8);
Tailwind
colors: {
  custom: {
    50: '#c573be',
    500: '#a72fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a72fa2;
$custom-light: #c573be;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fa2",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 302.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.20062,
    "h": 329.8
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#A72FA2
secondary
#71C174
accent
#DF4F48
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A72FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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