#A728A1#A728A1

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

Color values

HEX#A728A1
RGBrgb(167, 40, 161)
HSLhsl(303, 61%, 41%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 76%, 3.6%, 34.5%)
CIE-LABlab(41.70, 63.44, -37.35)
CIE-LCHlch(41.70, 73.62, 329.52°)
OKLaboklab(52.49% 0.1798 -0.1031)
OKLCHoklch(52.49% 0.207 330.2)
XYZxyz(23.1281, 12.3081, 34.8689)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728A1 #28A72E
analogous
#6E28A7 #A728A1 #A72861
triadic
#A728A1 #A1A728 #28A1A7
tetradic
#A728A1 #A76E28 #28A72E #2861A7
square
#A728A1 #A76E28 #28A72E #2861A7
split-complementary
#A728A1 #61A728 #28A76E
monochromatic
#441042 #761C71 #A728A1 #D03CC9 #DC6DD7

Accessibility & contrast

On white

6.07
#A728A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A728A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728A1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728A1#FFFFFF#000000##FFFFFF
##A728A11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#AD3A63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a728a1;
/* rgb */ color: rgb(167, 40, 161);
/* oklch */ color: oklch(52.5% 0.207 330.2);
Tailwind
colors: {
  custom: {
    50: '#c570bd',
    500: '#a728a1',
    950: '#000000',
  },
}
SCSS
$custom: #a728a1;
$custom-light: #c570bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a728a1",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 302.835,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.20729,
    "h": 330.2
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#A728A1
secondary
#68C36C
accent
#E44B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A728A1

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

Preview Lab → · Contrast checker → · Palette generator →

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