#A828AE#A828AE

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

Color values

HEX#A828AE
RGBrgb(168, 40, 174)
HSLhsl(297, 63%, 42%)
HSVhsv(297, 77%, 68%)
CMYKcmyk(3.4%, 77%, 0%, 31.8%)
CIE-LABlab(42.61, 65.77, -43.64)
CIE-LCHlch(42.61, 78.93, 326.43°)
OKLaboklab(53.41% 0.1806 -0.1214)
OKLCHoklch(53.41% 0.218 326.1)
XYZxyz(24.5467, 12.9001, 41.2333)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828AE #2EAE28
analogous
#6528AE #A828AE #AE2871
triadic
#A828AE #AEA828 #28AEA8
tetradic
#A828AE #AE6528 #2EAE28 #2871AE
square
#A828AE #AE6528 #2EAE28 #2871AE
split-complementary
#A828AE #71AE28 #28AE65
monochromatic
#48114A #781D7C #A828AE #CD40D3 #DA72DF

Accessibility & contrast

On white

5.87
#A828AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A828AE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828AE#FFFFFF#000000##FFFFFF
##A828AE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#486AAB
Tritanopia (blue-blind)
#AC406A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a828ae;
/* rgb */ color: rgb(168, 40, 174);
/* oklch */ color: oklch(53.4% 0.218 326.1);
Tailwind
colors: {
  custom: {
    50: '#c671c7',
    500: '#a828ae',
    950: '#000000',
  },
}
SCSS
$custom: #a828ae;
$custom-light: #c671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a828ae",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 297.313,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.21761,
    "h": 326.1
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#A828AE
secondary
#70C66C
accent
#E64249
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828AE

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

Preview Lab → · Contrast checker → · Palette generator →

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