#A72795#A72795

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

Color values

HEX#A72795
RGBrgb(167, 39, 149)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 77%, 65%)
CMYKcmyk(0%, 76.6%, 10.8%, 34.5%)
CIE-LABlab(40.96, 61.89, -31.28)
CIE-LCHlch(40.96, 69.35, 333.18°)
OKLaboklab(51.75% 0.1803 -0.0856)
OKLCHoklch(51.75% 0.2 334.6)
XYZxyz(22.0869, 11.8384, 29.5497)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72795 #27A739
analogous
#7927A7 #A72795 #A72755
triadic
#A72795 #95A727 #2795A7
tetradic
#A72795 #A77927 #27A739 #2755A7
square
#A72795 #A77927 #27A739 #2755A7
split-complementary
#A72795 #55A727 #27A779
monochromatic
#44103C #751B69 #A72795 #D13ABC #DD6CCD

Accessibility & contrast

On white

6.24
#A72795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A72795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72795
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72795#FFFFFF#000000##FFFFFF
##A727951.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255598
Deuteranopia (green-blind)
#556792
Tritanopia (blue-blind)
#AF335C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72795;
/* rgb */ color: rgb(167, 39, 149);
/* oklch */ color: oklch(51.7% 0.200 334.6);
Tailwind
colors: {
  custom: {
    50: '#c570b4',
    500: '#a72795',
    950: '#000000',
  },
}
SCSS
$custom: #a72795;
$custom-light: #c570b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a72795",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 308.438,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.19956,
    "h": 334.6
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A72795

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

Preview Lab → · Contrast checker → · Palette generator →

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