#A728B1#A728B1

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

Color values

HEX#A728B1
RGBrgb(167, 40, 177)
HSLhsl(296, 63%, 43%)
HSVhsv(296, 77%, 69%)
CMYKcmyk(5.6%, 77.4%, 0%, 30.6%)
CIE-LABlab(42.63, 66.07, -45.41)
CIE-LCHlch(42.63, 80.17, 325.50°)
OKLaboklab(53.44% 0.1793 -0.1266)
OKLCHoklch(53.44% 0.22 324.8)
XYZxyz(24.6303, 12.9090, 42.7808)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A728B1 #32B128
analogous
#6228B1 #A728B1 #B12877
triadic
#A728B1 #B1A728 #28B1A7
tetradic
#A728B1 #B16228 #32B128 #2877B1
square
#A728B1 #B16228 #32B128 #2877B1
split-complementary
#A728B1 #77B128 #28B162
monochromatic
#49114D #781D7F #A728B1 #CA42D4 #D874E0

Accessibility & contrast

On white

5.86
#A728B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A728B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A728B1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A728B1#FFFFFF#000000##FFFFFF
##A728B11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#AB426C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a728b1;
/* rgb */ color: rgb(167, 40, 177);
/* oklch */ color: oklch(53.4% 0.220 324.8);
Tailwind
colors: {
  custom: {
    50: '#c571c9',
    500: '#a728b1',
    950: '#000000',
  },
}
SCSS
$custom: #a728b1;
$custom-light: #c571c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a728b1",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 295.62,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.21951,
    "h": 324.8
  },
  "luminance": 0.12907
}

Semantic roles & 50–950 ramp

primary
#A728B1
secondary
#74C76E
accent
#E6424E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A728B1

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

Preview Lab → · Contrast checker → · Palette generator →

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