#A728A8#A728A8

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

Color values

HEX#A728A8
RGBrgb(167, 40, 168)
HSLhsl(300, 62%, 41%)
HSVhsv(300, 76%, 66%)
CMYKcmyk(0.6%, 76.2%, 0%, 34.1%)
CIE-LABlab(42.10, 64.57, -40.91)
CIE-LCHlch(42.10, 76.44, 327.65°)
OKLaboklab(52.9% 0.1797 -0.1135)
OKLCHoklch(52.9% 0.213 327.7)
XYZxyz(23.7627, 12.5620, 38.2113)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728A8 #29A828
analogous
#6728A8 #A728A8 #A82869
triadic
#A728A8 #A8A728 #28A8A7
tetradic
#A728A8 #A86728 #29A828 #2869A8
square
#A728A8 #A86728 #29A828 #2869A8
split-complementary
#A728A8 #69A828 #28A867
monochromatic
#451045 #761C77 #A728A8 #D03DD1 #DC6EDC

Accessibility & contrast

On white

5.98
#A728A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A728A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728A8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728A8#FFFFFF#000000##FFFFFF
##A728A81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0359AB
Deuteranopia (green-blind)
#4B69A5
Tritanopia (blue-blind)
#AC3D67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a728a8;
/* rgb */ color: rgb(167, 40, 168);
/* oklch */ color: oklch(52.9% 0.213 327.7);
Tailwind
colors: {
  custom: {
    50: '#c571c2',
    500: '#a728a8',
    950: '#000000',
  },
}
SCSS
$custom: #a728a8;
$custom-light: #c571c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a728a8",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 299.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.21257,
    "h": 327.7
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#A728A8
secondary
#69C369
accent
#E54344
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A728A8

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

Preview Lab → · Contrast checker → · Palette generator →

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