#A828A9#A828A9

#A828A9 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.214 H 327.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A828A9
RGBrgb(168, 40, 169)
HSLhsl(300, 62%, 41%)
HSVhsv(300, 76%, 66%)
CMYKcmyk(0.6%, 76.3%, 0%, 33.7%)
CIE-LABlab(42.32, 64.95, -41.13)
CIE-LCHlch(42.32, 76.88, 327.65°)
OKLaboklab(53.11% 0.1808 -0.1141)
OKLCHoklch(53.11% 0.214 327.7)
XYZxyz(24.0684, 12.7087, 38.7138)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A9 #29A928
analogous
#6728A9 #A828A9 #A92869
triadic
#A828A9 #A9A828 #28A9A8
tetradic
#A828A9 #A96728 #29A928 #2869A9
square
#A828A9 #A96728 #29A928 #2869A9
split-complementary
#A828A9 #69A928 #28A967
monochromatic
#461146 #771C78 #A828A9 #D03DD1 #DC6FDD

Accessibility & contrast

On white

5.93
#A828A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A828A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A9#FFFFFF#000000##FFFFFF
##A828A91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AC
Deuteranopia (green-blind)
#4C6AA6
Tritanopia (blue-blind)
#AD3E68
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a828a9;
/* rgb */ color: rgb(168, 40, 169);
/* oklch */ color: oklch(53.1% 0.214 327.7);
Tailwind
colors: {
  custom: {
    50: '#c671c3',
    500: '#a828a9',
    950: '#000000',
  },
}
SCSS
$custom: #a828a9;
$custom-light: #c671c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a9",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 299.535,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.21379,
    "h": 327.7
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#A828A9
secondary
#6AC469
accent
#E54344
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A9

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

Preview Lab → · Contrast checker → · Palette generator →

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