#A728AF#A728AF

#A728AF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A728AF
RGBrgb(167, 40, 175)
HSLhsl(296, 63%, 42%)
HSVhsv(296, 77%, 69%)
CMYKcmyk(4.6%, 77.1%, 0%, 31.4%)
CIE-LABlab(42.51, 65.74, -44.41)
CIE-LCHlch(42.51, 79.33, 325.96°)
OKLaboklab(53.32% 0.1794 -0.1237)
OKLCHoklch(53.32% 0.218 325.4)
XYZxyz(24.4325, 12.8299, 41.7387)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728AF #30AF28
analogous
#6328AF #A728AF #AF2874
triadic
#A728AF #AFA728 #28AFA7
tetradic
#A728AF #AF6328 #30AF28 #2874AF
square
#A728AF #AF6328 #30AF28 #2874AF
split-complementary
#A728AF #74AF28 #28AF63
monochromatic
#48114B #771D7D #A728AF #CB41D4 #D873DF

Accessibility & contrast

On white

5.89
#A728AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A728AF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728AF#FFFFFF#000000##FFFFFF
##A728AF1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#AB416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a728af;
/* rgb */ color: rgb(167, 40, 175);
/* oklch */ color: oklch(53.3% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#c571c7',
    500: '#a728af',
    950: '#000000',
  },
}
SCSS
$custom: #a728af;
$custom-light: #c571c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a728af",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 296.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.21795,
    "h": 325.4
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#A728AF
secondary
#72C66D
accent
#E6424C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728AF

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

Preview Lab → · Contrast checker → · Palette generator →

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