#A828AB#A828AB

#A828AB is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.215 H 327.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A828AB
RGBrgb(168, 40, 171)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 77%, 67%)
CMYKcmyk(1.8%, 76.6%, 0%, 32.9%)
CIE-LABlab(42.44, 65.27, -42.14)
CIE-LCHlch(42.44, 77.69, 327.15°)
OKLaboklab(53.23% 0.1807 -0.117)
OKLCHoklch(53.23% 0.215 327.1)
XYZxyz(24.2575, 12.7844, 39.7102)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828AB #2BAB28
analogous
#6728AB #A828AB #AB286D
triadic
#A828AB #ABA828 #28ABA8
tetradic
#A828AB #AB6728 #2BAB28 #286DAB
square
#A828AB #AB6728 #2BAB28 #286DAB
split-complementary
#A828AB #6DAB28 #28AB67
monochromatic
#471148 #771C79 #A828AB #CF3ED2 #DB70DE

Accessibility & contrast

On white

5.90
#A828AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A828AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828AB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828AB#FFFFFF#000000##FFFFFF
##A828AB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4A6AA8
Tritanopia (blue-blind)
#AD3F69
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a828ab;
/* rgb */ color: rgb(168, 40, 171);
/* oklch */ color: oklch(53.2% 0.215 327.1);
Tailwind
colors: {
  custom: {
    50: '#c671c4',
    500: '#a828ab',
    950: '#000000',
  },
}
SCSS
$custom: #a828ab;
$custom-light: #c671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a828ab",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 298.626,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53228,
    "c": 0.21531,
    "h": 327.1
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#A828AB
secondary
#6CC46A
accent
#E54346
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828AB

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

Preview Lab → · Contrast checker → · Palette generator →

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