#A728AB#A728AB

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

Color values

HEX#A728AB
RGBrgb(167, 40, 171)
HSLhsl(298, 62%, 41%)
HSVhsv(298, 77%, 67%)
CMYKcmyk(2.3%, 76.6%, 0%, 32.9%)
CIE-LABlab(42.27, 65.07, -42.42)
CIE-LCHlch(42.27, 77.67, 326.90°)
OKLaboklab(53.08% 0.1796 -0.1179)
OKLCHoklch(53.08% 0.215 326.7)
XYZxyz(24.0454, 12.6750, 39.7002)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728AB #2CAB28
analogous
#6628AB #A728AB #AB286E
triadic
#A728AB #ABA728 #28ABA7
tetradic
#A728AB #AB6628 #2CAB28 #286EAB
square
#A728AB #AB6628 #2CAB28 #286EAB
split-complementary
#A728AB #6EAB28 #28AB66
monochromatic
#461148 #771C79 #A728AB #CD3ED2 #DA70DE

Accessibility & contrast

On white

5.94
#A728AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A728AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728AB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728AB#FFFFFF#000000##FFFFFF
##A728AB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#AC3F69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a728ab;
/* rgb */ color: rgb(167, 40, 171);
/* oklch */ color: oklch(53.1% 0.215 326.7);
Tailwind
colors: {
  custom: {
    50: '#c571c4',
    500: '#a728ab',
    950: '#000000',
  },
}
SCSS
$custom: #a728ab;
$custom-light: #c571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a728ab",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 298.168,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.21486,
    "h": 326.7
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#A728AB
secondary
#6DC46A
accent
#E54348
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728AB

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

Preview Lab → · Contrast checker → · Palette generator →

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