#A820A5#A820A5

#A820A5 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.218 H 329.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A820A5
RGBrgb(168, 32, 165)
HSLhsl(301, 68%, 39%)
HSVhsv(301, 81%, 66%)
CMYKcmyk(0%, 81%, 1.8%, 34.1%)
CIE-LABlab(41.34, 66.48, -40.31)
CIE-LCHlch(41.34, 77.75, 328.77°)
OKLaboklab(52.33% 0.1871 -0.1117)
OKLCHoklch(52.33% 0.218 329.2)
XYZxyz(23.4563, 12.0763, 36.6856)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820A5 #20A823
analogous
#6720A8 #A820A5 #A82061
triadic
#A820A5 #A5A820 #20A5A8
tetradic
#A820A5 #A86720 #20A823 #2061A8
square
#A820A5 #A86720 #20A823 #2061A8
split-complementary
#A820A5 #61A820 #20A867
monochromatic
#410C40 #751673 #A820A5 #D72ED3 #E161DE

Accessibility & contrast

On white

6.15
#A820A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A820A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820A5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820A5#FFFFFF#000000##FFFFFF
##A820A51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#AE3764
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a820a5;
/* rgb */ color: rgb(168, 32, 165);
/* oklch */ color: oklch(52.3% 0.218 329.2);
Tailwind
colors: {
  custom: {
    50: '#c66ec0',
    500: '#a820a5',
    950: '#000000',
  },
}
SCSS
$custom: #a820a5;
$custom-light: #c66ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a820a5",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 301.324,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.21789,
    "h": 329.2
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#A820A5
secondary
#5EC660
accent
#EB413D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A820A5

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

Preview Lab → · Contrast checker → · Palette generator →

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