#A820A3#A820A3

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

Color values

HEX#A820A3
RGBrgb(168, 32, 163)
HSLhsl(302, 68%, 39%)
HSVhsv(302, 81%, 66%)
CMYKcmyk(0%, 81%, 3%, 34.1%)
CIE-LABlab(41.22, 66.17, -39.30)
CIE-LCHlch(41.22, 76.96, 329.30°)
OKLaboklab(52.22% 0.1872 -0.1087)
OKLCHoklch(52.22% 0.216 329.8)
XYZxyz(23.2757, 12.0041, 35.7344)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820A3 #20A825
analogous
#6920A8 #A820A3 #A8205F
triadic
#A820A3 #A3A820 #20A3A8
tetradic
#A820A3 #A86920 #20A825 #205FA8
square
#A820A3 #A86920 #20A825 #205FA8
split-complementary
#A820A3 #5FA820 #20A869
monochromatic
#410C3F #751671 #A820A3 #D72ED1 #E161DC

Accessibility & contrast

On white

6.18
#A820A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A820A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820A3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820A3#FFFFFF#000000##FFFFFF
##A820A31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#AE3662
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a820a3;
/* rgb */ color: rgb(168, 32, 163);
/* oklch */ color: oklch(52.2% 0.216 329.8);
Tailwind
colors: {
  custom: {
    50: '#c66ebf',
    500: '#a820a3',
    950: '#000000',
  },
}
SCSS
$custom: #a820a3;
$custom-light: #c66ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a820a3",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 302.206,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.21644,
    "h": 329.8
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#A820A3
secondary
#5EC662
accent
#EB433D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A820A3

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

Preview Lab → · Contrast checker → · Palette generator →

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