#A72798#A72798

#A72798 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.202 H 333.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A72798
RGBrgb(167, 39, 152)
HSLhsl(307, 62%, 40%)
HSVhsv(307, 77%, 65%)
CMYKcmyk(0%, 76.6%, 9%, 34.5%)
CIE-LABlab(41.11, 62.34, -32.86)
CIE-LCHlch(41.11, 70.47, 332.21°)
OKLaboklab(51.91% 0.1804 -0.0902)
OKLCHoklch(51.91% 0.202 333.4)
XYZxyz(22.3295, 11.9355, 30.8274)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72798 #27A736
analogous
#7627A7 #A72798 #A72758
triadic
#A72798 #98A727 #2798A7
tetradic
#A72798 #A77627 #27A736 #2758A7
square
#A72798 #A77627 #27A736 #2758A7
split-complementary
#A72798 #58A727 #27A776
monochromatic
#44103E #751B6B #A72798 #D13ABF #DD6CCF

Accessibility & contrast

On white

6.20
#A72798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A72798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72798
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72798#FFFFFF#000000##FFFFFF
##A727981.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#546795
Tritanopia (blue-blind)
#AF345E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72798;
/* rgb */ color: rgb(167, 39, 152);
/* oklch */ color: oklch(51.9% 0.202 333.4);
Tailwind
colors: {
  custom: {
    50: '#c570b7',
    500: '#a72798',
    950: '#000000',
  },
}
SCSS
$custom: #a72798;
$custom-light: #c570b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a72798",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 307.031,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.2017,
    "h": 333.4
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#A72798
secondary
#67C372
accent
#E55643
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72798

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

Preview Lab → · Contrast checker → · Palette generator →

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