#A728AC#A728AC

#A728AC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 326.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A728AC
RGBrgb(167, 40, 172)
HSLhsl(298, 62%, 42%)
HSVhsv(298, 77%, 67%)
CMYKcmyk(2.9%, 76.7%, 0%, 32.5%)
CIE-LABlab(42.33, 65.23, -42.92)
CIE-LCHlch(42.33, 78.09, 326.66°)
OKLaboklab(53.14% 0.1796 -0.1193)
OKLCHoklch(53.14% 0.216 326.4)
XYZxyz(24.1411, 12.7133, 40.2041)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728AC #2DAC28
analogous
#6528AC #A728AC #AC286F
triadic
#A728AC #ACA728 #28ACA7
tetradic
#A728AC #AC6528 #2DAC28 #286FAC
square
#A728AC #AC6528 #2DAC28 #286FAC
split-complementary
#A728AC #6FAC28 #28AC65
monochromatic
#471149 #771C7A #A728AC #CD3FD2 #DA71DE

Accessibility & contrast

On white

5.93
#A728AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A728AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728AC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728AC#FFFFFF#000000##FFFFFF
##A728AC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4969A9
Tritanopia (blue-blind)
#AB3F69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a728ac;
/* rgb */ color: rgb(167, 40, 172);
/* oklch */ color: oklch(53.1% 0.216 326.4);
Tailwind
colors: {
  custom: {
    50: '#c571c5',
    500: '#a728ac',
    950: '#000000',
  },
}
SCSS
$custom: #a728ac;
$custom-light: #c571c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a728ac",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 297.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.21563,
    "h": 326.4
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#A728AC
secondary
#6EC56B
accent
#E54249
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728AC

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

Preview Lab → · Contrast checker → · Palette generator →

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