#A728AE#A728AE

#A728AE is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.217 H 325.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A728AE
RGBrgb(167, 40, 174)
HSLhsl(297, 63%, 42%)
HSVhsv(297, 77%, 68%)
CMYKcmyk(4%, 77%, 0%, 31.8%)
CIE-LABlab(42.45, 65.57, -43.92)
CIE-LCHlch(42.45, 78.92, 326.19°)
OKLaboklab(53.26% 0.1795 -0.1222)
OKLCHoklch(53.26% 0.217 325.7)
XYZxyz(24.3346, 12.7907, 41.2233)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728AE #2FAE28
analogous
#6428AE #A728AE #AE2872
triadic
#A728AE #AEA728 #28AEA7
tetradic
#A728AE #AE6428 #2FAE28 #2872AE
square
#A728AE #AE6428 #2FAE28 #2872AE
split-complementary
#A728AE #72AE28 #28AE64
monochromatic
#47114A #771D7C #A728AE #CB40D3 #D972DF

Accessibility & contrast

On white

5.90
#A728AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A728AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728AE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728AE#FFFFFF#000000##FFFFFF
##A728AE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#AB406A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a728ae;
/* rgb */ color: rgb(167, 40, 174);
/* oklch */ color: oklch(53.3% 0.217 325.7);
Tailwind
colors: {
  custom: {
    50: '#c571c7',
    500: '#a728ae',
    950: '#000000',
  },
}
SCSS
$custom: #a728ae;
$custom-light: #c571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a728ae",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 296.866,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.21718,
    "h": 325.7
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#A728AE
secondary
#71C66C
accent
#E6424B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728AE

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

Preview Lab → · Contrast checker → · Palette generator →

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