#A728A9#A728A9

#A728A9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.213 H 327.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A728A9
RGBrgb(167, 40, 169)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 76%, 66%)
CMYKcmyk(1.2%, 76.3%, 0%, 33.7%)
CIE-LABlab(42.15, 64.74, -41.41)
CIE-LCHlch(42.15, 76.85, 327.39°)
OKLaboklab(52.96% 0.1797 -0.1149)
OKLCHoklch(52.96% 0.213 327.4)
XYZxyz(23.8562, 12.5994, 38.7038)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728A9 #2AA928
analogous
#6628A9 #A728A9 #A9286A
triadic
#A728A9 #A9A728 #28A9A7
tetradic
#A728A9 #A96628 #2AA928 #286AA9
square
#A728A9 #A96628 #2AA928 #286AA9
split-complementary
#A728A9 #6AA928 #28A966
monochromatic
#451146 #761C78 #A728A9 #CF3DD1 #DB6FDD

Accessibility & contrast

On white

5.97
#A728A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A728A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728A9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728A9#FFFFFF#000000##FFFFFF
##A728A91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#AC3E68
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a728a9;
/* rgb */ color: rgb(167, 40, 169);
/* oklch */ color: oklch(53.0% 0.213 327.4);
Tailwind
colors: {
  custom: {
    50: '#c571c3',
    500: '#a728a9',
    950: '#000000',
  },
}
SCSS
$custom: #a728a9;
$custom-light: #c571c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a728a9",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 299.07,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.21333,
    "h": 327.4
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#A728A9
secondary
#6BC469
accent
#E54345
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A728A9

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

Preview Lab → · Contrast checker → · Palette generator →

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