#A728AA#A728AA

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

Color values

HEX#A728AA
RGBrgb(167, 40, 170)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 76%, 67%)
CMYKcmyk(1.8%, 76.5%, 0%, 33.3%)
CIE-LABlab(42.21, 64.90, -41.91)
CIE-LCHlch(42.21, 77.26, 327.15°)
OKLaboklab(53.02% 0.1797 -0.1164)
OKLCHoklch(53.02% 0.214 327.1)
XYZxyz(23.9505, 12.6371, 39.2001)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728AA #2BAA28
analogous
#6628AA #A728AA #AA286C
triadic
#A728AA #AAA728 #28AAA7
tetradic
#A728AA #AA6628 #2BAA28 #286CAA
square
#A728AA #AA6628 #2BAA28 #286CAA
split-complementary
#A728AA #6CAA28 #28AA66
monochromatic
#461147 #761C78 #A728AA #CE3ED2 #DB6FDD

Accessibility & contrast

On white

5.95
#A728AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A728AA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728AA#FFFFFF#000000##FFFFFF
##A728AA1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#AC3E68
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a728aa;
/* rgb */ color: rgb(167, 40, 170);
/* oklch */ color: oklch(53.0% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#c571c4',
    500: '#a728aa',
    950: '#000000',
  },
}
SCSS
$custom: #a728aa;
$custom-light: #c571c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a728aa",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 298.615,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.2141,
    "h": 327.1
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#A728AA
secondary
#6CC46A
accent
#E54347
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728AA

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

Preview Lab → · Contrast checker → · Palette generator →

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