#A72FD3#A72FD3

#A72FD3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.241 H 314.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A72FD3
RGBrgb(167, 47, 211)
HSLhsl(284, 65%, 51%)
HSVhsv(284, 78%, 83%)
CMYKcmyk(20.9%, 77.7%, 0%, 17.3%)
CIE-LABlab(45.57, 70.09, -60.49)
CIE-LCHlch(45.57, 92.59, 319.20°)
OKLaboklab(56.22% 0.1695 -0.1708)
OKLCHoklch(56.22% 0.241 314.8)
XYZxyz(28.7088, 14.9527, 62.9893)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FD3 #5BD32F
analogous
#552FD3 #A72FD3 #D32FAD
triadic
#A72FD3 #D3A72F #2FD3A7
tetradic
#A72FD3 #D3552F #5BD32F #2FADD3
square
#A72FD3 #D3552F #5BD32F #2FADD3
split-complementary
#A72FD3 #ADD32F #2FD355
monochromatic
#581870 #8022A2 #A72FD3 #BC62DE #D294E8

Accessibility & contrast

On white

5.26
#A72FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A72FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FD3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FD3#FFFFFF#000000##FFFFFF
##A72FD31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#246FD0
Tritanopia (blue-blind)
#A35681
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a72fd3;
/* rgb */ color: rgb(167, 47, 211);
/* oklch */ color: oklch(56.2% 0.241 314.8);
Tailwind
colors: {
  custom: {
    50: '#c675e1',
    500: '#a72fd3',
    950: '#000000',
  },
}
SCSS
$custom: #a72fd3;
$custom-light: #c675e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fd3",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 283.902,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.24066,
    "h": 314.8
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#A72FD3
secondary
#9ED38A
accent
#E8406D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A72FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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