#A828AA#A828AA

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

Color values

HEX#A828AA
RGBrgb(168, 40, 170)
HSLhsl(299, 62%, 41%)
HSVhsv(299, 76%, 67%)
CMYKcmyk(1.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(42.38, 65.11, -41.64)
CIE-LCHlch(42.38, 77.28, 327.40°)
OKLaboklab(53.17% 0.1808 -0.1156)
OKLCHoklch(53.17% 0.215 327.4)
XYZxyz(24.1626, 12.7464, 39.2101)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828AA #2AAA28
analogous
#6728AA #A828AA #AA286B
triadic
#A828AA #AAA828 #28AAA8
tetradic
#A828AA #AA6728 #2AAA28 #286BAA
square
#A828AA #AA6728 #2AAA28 #286BAA
split-complementary
#A828AA #6BAA28 #28AA67
monochromatic
#461147 #771C78 #A828AA #CF3ED2 #DB6FDD

Accessibility & contrast

On white

5.92
#A828AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A828AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828AA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828AA#FFFFFF#000000##FFFFFF
##A828AA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#AD3E68
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a828aa;
/* rgb */ color: rgb(168, 40, 170);
/* oklch */ color: oklch(53.2% 0.215 327.4);
Tailwind
colors: {
  custom: {
    50: '#c671c4',
    500: '#a828aa',
    950: '#000000',
  },
}
SCSS
$custom: #a828aa;
$custom-light: #c671c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a828aa",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 299.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.21455,
    "h": 327.4
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#A828AA
secondary
#6BC46A
accent
#E54345
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828AA

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

Preview Lab → · Contrast checker → · Palette generator →

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