#A828A4#A828A4

#A828A4 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.210 H 329.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A828A4
RGBrgb(168, 40, 164)
HSLhsl(302, 62%, 41%)
HSVhsv(302, 76%, 66%)
CMYKcmyk(0%, 76.2%, 2.4%, 34.1%)
CIE-LABlab(42.04, 64.14, -38.60)
CIE-LCHlch(42.04, 74.85, 328.96°)
OKLaboklab(52.82% 0.1809 -0.1068)
OKLCHoklch(52.82% 0.21 329.4)
XYZxyz(23.6079, 12.5246, 36.2888)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A4 #28A82C
analogous
#6C28A8 #A828A4 #A82864
triadic
#A828A4 #A4A828 #28A4A8
tetradic
#A828A4 #A86C28 #28A82C #2864A8
square
#A828A4 #A86C28 #28A82C #2864A8
split-complementary
#A828A4 #64A828 #28A86C
monochromatic
#451043 #771C74 #A828A4 #D13DCC #DC6ED9

Accessibility & contrast

On white

5.99
#A828A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A828A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A4#FFFFFF#000000##FFFFFF
##A828A41.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1258A7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#AE3B65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a828a4;
/* rgb */ color: rgb(168, 40, 164);
/* oklch */ color: oklch(52.8% 0.210 329.4);
Tailwind
colors: {
  custom: {
    50: '#c671bf',
    500: '#a828a4',
    950: '#000000',
  },
}
SCSS
$custom: #a828a4;
$custom-light: #c671bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a4",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 301.875,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.21002,
    "h": 329.4
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A828A4

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

Preview Lab → · Contrast checker → · Palette generator →

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