#A72FB8#A72FB8

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

Color values

HEX#A72FB8
RGBrgb(167, 47, 184)
HSLhsl(293, 59%, 45%)
HSVhsv(293, 74%, 72%)
CMYKcmyk(9.2%, 74.5%, 0%, 27.8%)
CIE-LABlab(43.82, 65.09, -47.63)
CIE-LCHlch(43.82, 80.66, 323.81°)
OKLaboklab(54.43% 0.1728 -0.1331)
OKLCHoklch(54.43% 0.218 322.4)
XYZxyz(25.6037, 13.7107, 46.6359)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FB8 #40B82F
analogous
#632FB8 #A72FB8 #B82F84
triadic
#A72FB8 #B8A72F #2FB8A7
tetradic
#A72FB8 #B8632F #40B82F #2F84B8
square
#A72FB8 #B8632F #40B82F #2F84B8
split-complementary
#A72FB8 #84B82F #2FB863
monochromatic
#4F1657 #7B2387 #A72FB8 #C352D3 #D482DF

Accessibility & contrast

On white

5.61
#A72FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A72FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FB8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FB8#FFFFFF#000000##FFFFFF
##A72FB81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#446CB5
Tritanopia (blue-blind)
#A94972
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a72fb8;
/* rgb */ color: rgb(167, 47, 184);
/* oklch */ color: oklch(54.4% 0.218 322.4);
Tailwind
colors: {
  custom: {
    50: '#c574ce',
    500: '#a72fb8',
    950: '#000000',
  },
}
SCSS
$custom: #a72fb8;
$custom-light: #c574ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fb8",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 292.555,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.21817,
    "h": 322.4
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#A72FB8
secondary
#84C87B
accent
#E24559
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A72FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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