#A828A5#A828A5

#A828A5 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.211 H 329.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A828A5
RGBrgb(168, 40, 165)
HSLhsl(301, 62%, 41%)
HSVhsv(301, 76%, 66%)
CMYKcmyk(0%, 76.2%, 1.8%, 34.1%)
CIE-LABlab(42.09, 64.30, -39.11)
CIE-LCHlch(42.09, 75.26, 328.69°)
OKLaboklab(52.87% 0.1809 -0.1082)
OKLCHoklch(52.87% 0.211 329.1)
XYZxyz(23.6986, 12.5608, 36.7663)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A5 #28A82B
analogous
#6B28A8 #A828A5 #A82865
triadic
#A828A5 #A5A828 #28A5A8
tetradic
#A828A5 #A86B28 #28A82B #2865A8
square
#A828A5 #A86B28 #28A82B #2865A8
split-complementary
#A828A5 #65A828 #28A86B
monochromatic
#451044 #771C74 #A828A5 #D13DCD #DC6EDA

Accessibility & contrast

On white

5.98
#A828A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A828A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A5#FFFFFF#000000##FFFFFF
##A828A51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F59A8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#AE3C65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a828a5;
/* rgb */ color: rgb(168, 40, 165);
/* oklch */ color: oklch(52.9% 0.211 329.1);
Tailwind
colors: {
  custom: {
    50: '#c671c0',
    500: '#a828a5',
    950: '#000000',
  },
}
SCSS
$custom: #a828a5;
$custom-light: #c671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a5",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 301.406,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.21077,
    "h": 329.1
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#A828A5
secondary
#69C36B
accent
#E54743
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A5

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

Preview Lab → · Contrast checker → · Palette generator →

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