#A728A6#A728A6

#A728A6 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.211 H 328.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A728A6
RGBrgb(167, 40, 166)
HSLhsl(300, 61%, 41%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0%, 76%, 0.6%, 34.5%)
CIE-LABlab(41.98, 64.25, -39.90)
CIE-LCHlch(41.98, 75.62, 328.16°)
OKLaboklab(52.78% 0.1798 -0.1105)
OKLCHoklch(52.78% 0.211 328.4)
XYZxyz(23.5778, 12.4880, 37.2376)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728A6 #28A729
analogous
#6828A7 #A728A6 #A72867
triadic
#A728A6 #A6A728 #28A6A7
tetradic
#A728A6 #A76828 #28A729 #2867A7
square
#A728A6 #A76828 #28A729 #2867A7
split-complementary
#A728A6 #67A728 #28A768
monochromatic
#441044 #761C75 #A728A6 #D03CCF #DC6DDB

Accessibility & contrast

On white

6.00
#A728A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A728A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728A6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728A6#FFFFFF#000000##FFFFFF
##A728A61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A59A9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#AD3C66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a728a6;
/* rgb */ color: rgb(167, 40, 166);
/* oklch */ color: oklch(52.8% 0.211 328.4);
Tailwind
colors: {
  custom: {
    50: '#c571c1',
    500: '#a728a6',
    950: '#000000',
  },
}
SCSS
$custom: #a728a6;
$custom-light: #c571c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a728a6",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 300.472,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.21105,
    "h": 328.4
  },
  "luminance": 0.12486
}

Semantic roles & 50–950 ramp

primary
#A728A6
secondary
#68C369
accent
#E44543
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A728A6

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

Preview Lab → · Contrast checker → · Palette generator →

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