#A820A6#A820A6

#A820A6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.219 H 328.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A820A6
RGBrgb(168, 32, 166)
HSLhsl(301, 68%, 39%)
HSVhsv(301, 81%, 66%)
CMYKcmyk(0%, 81%, 1.2%, 34.1%)
CIE-LABlab(41.40, 66.64, -40.82)
CIE-LCHlch(41.40, 78.15, 328.51°)
OKLaboklab(52.39% 0.1871 -0.1131)
OKLCHoklch(52.39% 0.219 328.8)
XYZxyz(23.5477, 12.1129, 37.1668)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820A6 #20A822
analogous
#6620A8 #A820A6 #A82062
triadic
#A820A6 #A6A820 #20A6A8
tetradic
#A820A6 #A86620 #20A822 #2062A8
square
#A820A6 #A86620 #20A822 #2062A8
split-complementary
#A820A6 #62A820 #20A866
monochromatic
#410C40 #751673 #A820A6 #D72ED5 #E161DF

Accessibility & contrast

On white

6.14
#A820A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A820A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820A6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820A6#FFFFFF#000000##FFFFFF
##A820A61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4A68A3
Tritanopia (blue-blind)
#AE3864
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a820a6;
/* rgb */ color: rgb(168, 32, 166);
/* oklch */ color: oklch(52.4% 0.219 328.8);
Tailwind
colors: {
  custom: {
    50: '#c66ec1',
    500: '#a820a6',
    950: '#000000',
  },
}
SCSS
$custom: #a820a6;
$custom-light: #c66ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a820a6",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 300.882,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.21861,
    "h": 328.8
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#A820A6
secondary
#5EC65F
accent
#EB3F3D
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A820A6

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

Preview Lab → · Contrast checker → · Palette generator →

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