#A728A7#A728A7

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

Color values

HEX#A728A7
RGBrgb(167, 40, 167)
HSLhsl(300, 61%, 41%)
HSVhsv(300, 76%, 65%)
CMYKcmyk(0%, 76%, 0%, 34.5%)
CIE-LABlab(42.04, 64.41, -40.40)
CIE-LCHlch(42.04, 76.03, 327.90°)
OKLaboklab(52.84% 0.1798 -0.112)
OKLCHoklch(52.84% 0.212 328.1)
XYZxyz(23.6699, 12.5248, 37.7226)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728A7 #28A728
analogous
#6728A7 #A728A7 #A72867
triadic
#A728A7 #A7A728 #28A7A7
tetradic
#A728A7 #A76728 #28A728 #2867A7
square
#A728A7 #A76728 #28A728 #2867A7
split-complementary
#A728A7 #67A728 #28A767
monochromatic
#441044 #761C76 #A728A7 #D03CD0 #DC6DDC

Accessibility & contrast

On white

5.99
#A728A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A728A7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728A7#FFFFFF#000000##FFFFFF
##A728A71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0759AA
Deuteranopia (green-blind)
#4C69A4
Tritanopia (blue-blind)
#AC3D66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a728a7;
/* rgb */ color: rgb(167, 40, 167);
/* oklch */ color: oklch(52.8% 0.212 328.1);
Tailwind
colors: {
  custom: {
    50: '#c571c2',
    500: '#a728a7',
    950: '#000000',
  },
}
SCSS
$custom: #a728a7;
$custom-light: #c571c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a728a7",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 300,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.21181,
    "h": 328.1
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#A728A7
secondary
#68C368
accent
#E44343
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A728A7

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

Preview Lab → · Contrast checker → · Palette generator →

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