#A72794#A72794

#A72794 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 335.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A72794
RGBrgb(167, 39, 148)
HSLhsl(309, 62%, 40%)
HSVhsv(309, 77%, 65%)
CMYKcmyk(0%, 76.6%, 11.4%, 34.5%)
CIE-LABlab(40.91, 61.74, -30.76)
CIE-LCHlch(40.91, 68.98, 333.52°)
OKLaboklab(51.7% 0.1802 -0.0841)
OKLCHoklch(51.7% 0.199 335)
XYZxyz(22.0074, 11.8066, 29.1311)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72794 #27A73A
analogous
#7A27A7 #A72794 #A72754
triadic
#A72794 #94A727 #2794A7
tetradic
#A72794 #A77A27 #27A73A #2754A7
square
#A72794 #A77A27 #27A73A #2754A7
split-complementary
#A72794 #54A727 #27A77A
monochromatic
#44103C #751B68 #A72794 #D13ABB #DD6CCC

Accessibility & contrast

On white

6.25
#A72794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A72794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72794
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72794#FFFFFF#000000##FFFFFF
##A727941.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#AF325C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a72794;
/* rgb */ color: rgb(167, 39, 148);
/* oklch */ color: oklch(51.7% 0.199 335.0);
Tailwind
colors: {
  custom: {
    50: '#c570b4',
    500: '#a72794',
    950: '#000000',
  },
}
SCSS
$custom: #a72794;
$custom-light: #c570b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72794",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 308.906,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.19886,
    "h": 335
  },
  "luminance": 0.11805
}

Semantic roles & 50–950 ramp

primary
#A72794
secondary
#67C374
accent
#E55B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72794

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

Preview Lab → · Contrast checker → · Palette generator →

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