#A72BAF#A72BAF

#A72BAF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.215 H 325.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A72BAF
RGBrgb(167, 43, 175)
HSLhsl(296, 61%, 43%)
HSVhsv(296, 75%, 69%)
CMYKcmyk(4.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(42.82, 64.82, -43.91)
CIE-LCHlch(42.82, 78.29, 325.89°)
OKLaboklab(53.55% 0.1769 -0.1222)
OKLCHoklch(53.55% 0.215 325.4)
XYZxyz(24.5375, 13.0400, 41.7737)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72BAF #33AF2B
analogous
#652BAF #A72BAF #AF2B75
triadic
#A72BAF #AFA72B #2BAFA7
tetradic
#A72BAF #AF652B #33AF2B #2B75AF
square
#A72BAF #AF652B #33AF2B #2B75AF
split-complementary
#A72BAF #75AF2B #2BAF65
monochromatic
#49134D #781F7E #A72BAF #C946D1 #D777DE

Accessibility & contrast

On white

5.82
#A72BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A72BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72BAF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72BAF#FFFFFF#000000##FFFFFF
##A72BAF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#AB436C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a72baf;
/* rgb */ color: rgb(167, 43, 175);
/* oklch */ color: oklch(53.5% 0.215 325.4);
Tailwind
colors: {
  custom: {
    50: '#c572c7',
    500: '#a72baf',
    950: '#000000',
  },
}
SCSS
$custom: #a72baf;
$custom-light: #c572c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a72baf",
  "rgb": {
    "r": 167,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 296.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.21504,
    "h": 325.4
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#A72BAF
secondary
#76C570
accent
#E4444E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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