#A728B0#A728B0

#A728B0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.219 H 325.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A728B0
RGBrgb(167, 40, 176)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 77%, 69%)
CMYKcmyk(5.1%, 77.3%, 0%, 31%)
CIE-LABlab(42.57, 65.91, -44.91)
CIE-LCHlch(42.57, 79.75, 325.73°)
OKLaboklab(53.38% 0.1794 -0.1251)
OKLCHoklch(53.38% 0.219 325.1)
XYZxyz(24.5310, 12.8693, 42.2578)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728B0 #31B028
analogous
#6328B0 #A728B0 #B02875
triadic
#A728B0 #B0A728 #28B0A7
tetradic
#A728B0 #B06328 #31B028 #2875B0
square
#A728B0 #B06328 #31B028 #2875B0
split-complementary
#A728B0 #75B028 #28B063
monochromatic
#48114C #781D7E #A728B0 #CA41D4 #D873DF

Accessibility & contrast

On white

5.88
#A728B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A728B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728B0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728B0#FFFFFF#000000##FFFFFF
##A728B01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#AB416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a728b0;
/* rgb */ color: rgb(167, 40, 176);
/* oklch */ color: oklch(53.4% 0.219 325.1);
Tailwind
colors: {
  custom: {
    50: '#c571c8',
    500: '#a728b0',
    950: '#000000',
  },
}
SCSS
$custom: #a728b0;
$custom-light: #c571c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a728b0",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 296.029,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.21872,
    "h": 325.1
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#A728B0
secondary
#73C66D
accent
#E6424D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728B0

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

Preview Lab → · Contrast checker → · Palette generator →

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