#A72FB2#A72FB2

#A72FB2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.213 H 324.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A72FB2
RGBrgb(167, 47, 178)
HSLhsl(295, 58%, 44%)
HSVhsv(295, 74%, 70%)
CMYKcmyk(6.2%, 73.6%, 0%, 30.2%)
CIE-LABlab(43.45, 64.04, -44.67)
CIE-LCHlch(43.45, 78.08, 325.10°)
OKLaboklab(54.05% 0.1732 -0.1245)
OKLCHoklch(54.05% 0.213 324.3)
XYZxyz(24.9881, 13.4644, 43.3936)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72FB2 #3AB22F
analogous
#662FB2 #A72FB2 #B22F7C
triadic
#A72FB2 #B2A72F #2FB2A7
tetradic
#A72FB2 #B2662F #3AB22F #2F7CB2
square
#A72FB2 #B2662F #3AB22F #2F7CB2
split-complementary
#A72FB2 #7CB22F #2FB266
monochromatic
#4C1551 #7A2282 #A72FB2 #C54ED0 #D57EDD

Accessibility & contrast

On white

5.69
#A72FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A72FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72FB2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72FB2#FFFFFF#000000##FFFFFF
##A72FB21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#486BAF
Tritanopia (blue-blind)
#AA466E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a72fb2;
/* rgb */ color: rgb(167, 47, 178);
/* oklch */ color: oklch(54.1% 0.213 324.3);
Tailwind
colors: {
  custom: {
    50: '#c574c9',
    500: '#a72fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a72fb2;
$custom-light: #c574c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a72fb2",
  "rgb": {
    "r": 167,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 294.962,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54053,
    "c": 0.21329,
    "h": 324.3
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#A72FB2
secondary
#7EC677
accent
#E14653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A72FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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