#A728A0#A728A0

#A728A0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.207 H 330.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A728A0
RGBrgb(167, 40, 160)
HSLhsl(303, 61%, 41%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 76%, 4.2%, 34.5%)
CIE-LABlab(41.65, 63.28, -36.83)
CIE-LCHlch(41.65, 73.22, 329.80°)
OKLaboklab(52.43% 0.1798 -0.1017)
OKLCHoklch(52.43% 0.207 330.5)
XYZxyz(23.0402, 12.2730, 34.4063)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728A0 #28A72F
analogous
#6E28A7 #A728A0 #A72860
triadic
#A728A0 #A0A728 #28A0A7
tetradic
#A728A0 #A76E28 #28A72F #2860A7
square
#A728A0 #A76E28 #28A72F #2860A7
split-complementary
#A728A0 #60A728 #28A76E
monochromatic
#441041 #761C71 #A728A0 #D03CC8 #DC6DD6

Accessibility & contrast

On white

6.08
#A728A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A728A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728A0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728A0#FFFFFF#000000##FFFFFF
##A728A01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A3
Deuteranopia (green-blind)
#50689D
Tritanopia (blue-blind)
#AE3962
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a728a0;
/* rgb */ color: rgb(167, 40, 160);
/* oklch */ color: oklch(52.4% 0.207 330.5);
Tailwind
colors: {
  custom: {
    50: '#c570bc',
    500: '#a728a0',
    950: '#000000',
  },
}
SCSS
$custom: #a728a0;
$custom-light: #c570bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a728a0",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 303.307,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.20654,
    "h": 330.5
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#A728A0
secondary
#68C36D
accent
#E44C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A728A0

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

Preview Lab → · Contrast checker → · Palette generator →

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