#A820AA#A820AA

#A820AA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.222 H 327.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A820AA
RGBrgb(168, 32, 170)
HSLhsl(299, 68%, 40%)
HSVhsv(299, 81%, 67%)
CMYKcmyk(1.2%, 81.2%, 0%, 33.3%)
CIE-LABlab(41.63, 67.28, -42.83)
CIE-LCHlch(41.63, 79.75, 327.52°)
OKLaboklab(52.64% 0.1869 -0.119)
OKLCHoklch(52.64% 0.222 327.5)
XYZxyz(23.9203, 12.2619, 39.1293)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A820AA #22AA20
analogous
#6320AA #A820AA #AA2067
triadic
#A820AA #AAA820 #20AAA8
tetradic
#A820AA #AA6320 #22AA20 #2067AA
square
#A820AA #AA6320 #22AA20 #2067AA
split-complementary
#A820AA #67AA20 #20AA63
monochromatic
#420D43 #751676 #A820AA #D52FD8 #E063E2

Accessibility & contrast

On white

6.08
#A820AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A820AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A820AA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A820AA#FFFFFF#000000##FFFFFF
##A820AA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#AD3A66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a820aa;
/* rgb */ color: rgb(168, 32, 170);
/* oklch */ color: oklch(52.6% 0.222 327.5);
Tailwind
colors: {
  custom: {
    50: '#c66ec4',
    500: '#a820aa',
    950: '#000000',
  },
}
SCSS
$custom: #a820aa;
$custom-light: #c66ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a820aa",
  "rgb": {
    "r": 168,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 299.13,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.22155,
    "h": 327.5
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#A820AA
secondary
#61C75F
accent
#EB3D3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A820AA

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

Preview Lab → · Contrast checker → · Palette generator →

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