#A820A2#A820A2

#A820A2 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.216 H 330.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A820A2
RGBrgb(168, 32, 162)
HSLhsl(303, 68%, 39%)
HSVhsv(303, 81%, 66%)
CMYKcmyk(0%, 81%, 3.6%, 34.1%)
CIE-LABlab(41.17, 66.01, -38.79)
CIE-LCHlch(41.17, 76.56, 329.56°)
OKLaboklab(52.16% 0.1872 -0.1072)
OKLCHoklch(52.16% 0.216 330.2)
XYZxyz(23.1865, 11.9684, 35.2644)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820A2 #20A826
analogous
#6A20A8 #A820A2 #A8205E
triadic
#A820A2 #A2A820 #20A2A8
tetradic
#A820A2 #A86A20 #20A826 #205EA8
square
#A820A2 #A86A20 #20A826 #205EA8
split-complementary
#A820A2 #5EA820 #20A86A
monochromatic
#410C3F #751670 #A820A2 #D72ED0 #E161DB

Accessibility & contrast

On white

6.19
#A820A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A820A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820A2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820A2#FFFFFF#000000##FFFFFF
##A820A21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#AE3562
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a820a2;
/* rgb */ color: rgb(168, 32, 162);
/* oklch */ color: oklch(52.2% 0.216 330.2);
Tailwind
colors: {
  custom: {
    50: '#c66ebe',
    500: '#a820a2',
    950: '#000000',
  },
}
SCSS
$custom: #a820a2;
$custom-light: #c66ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#a820a2",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 302.647,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.21572,
    "h": 330.2
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#A820A2
secondary
#5EC663
accent
#EB453D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A820A2

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

Preview Lab → · Contrast checker → · Palette generator →

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