#A828A8#A828A8

#A828A8 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.213 H 328.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A828A8
RGBrgb(168, 40, 168)
HSLhsl(300, 62%, 41%)
HSVhsv(300, 76%, 66%)
CMYKcmyk(0%, 76.2%, 0%, 34.1%)
CIE-LABlab(42.26, 64.78, -40.63)
CIE-LCHlch(42.26, 76.47, 327.91°)
OKLaboklab(53.05% 0.1808 -0.1126)
OKLCHoklch(53.05% 0.213 328.1)
XYZxyz(23.9748, 12.6713, 38.2213)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A8 #28A828
analogous
#6828A8 #A828A8 #A82868
triadic
#A828A8 #A8A828 #28A8A8
tetradic
#A828A8 #A86828 #28A828 #2868A8
square
#A828A8 #A86828 #28A828 #2868A8
split-complementary
#A828A8 #68A828 #28A868
monochromatic
#451045 #771C77 #A828A8 #D13DD1 #DC6EDC

Accessibility & contrast

On white

5.94
#A828A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A828A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A8#FFFFFF#000000##FFFFFF
##A828A81.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0659AB
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#AD3D67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a828a8;
/* rgb */ color: rgb(168, 40, 168);
/* oklch */ color: oklch(53.0% 0.213 328.1);
Tailwind
colors: {
  custom: {
    50: '#c671c2',
    500: '#a828a8',
    950: '#000000',
  },
}
SCSS
$custom: #a828a8;
$custom-light: #c671c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a8",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 300,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.21303,
    "h": 328.1
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#A828A8
secondary
#69C369
accent
#E54343
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A8

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

Preview Lab → · Contrast checker → · Palette generator →

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