#A821AA#A821AA

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

Color values

HEX#A821AA
RGBrgb(168, 33, 170)
HSLhsl(299, 67%, 40%)
HSVhsv(299, 81%, 67%)
CMYKcmyk(1.2%, 80.6%, 0%, 33.3%)
CIE-LABlab(41.71, 67.03, -42.70)
CIE-LCHlch(41.71, 79.47, 327.50°)
OKLaboklab(52.7% 0.1862 -0.1186)
OKLCHoklch(52.7% 0.221 327.5)
XYZxyz(23.9477, 12.3166, 39.1384)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A821AA #23AA21
analogous
#6321AA #A821AA #AA2168
triadic
#A821AA #AAA821 #21AAA8
tetradic
#A821AA #AA6321 #23AA21 #2168AA
square
#A821AA #AA6321 #23AA21 #2168AA
split-complementary
#A821AA #68AA21 #21AA63
monochromatic
#430D43 #751777 #A821AA #D531D7 #DF64E1

Accessibility & contrast

On white

6.06
#A821AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A821AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A821AA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A821AA#FFFFFF#000000##FFFFFF
##A821AA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a821aa;
/* rgb */ color: rgb(168, 33, 170);
/* oklch */ color: oklch(52.7% 0.221 327.5);
Tailwind
colors: {
  custom: {
    50: '#c66fc4',
    500: '#a821aa',
    950: '#000000',
  },
}
SCSS
$custom: #a821aa;
$custom-light: #c66fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a821aa",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 299.124,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.22074,
    "h": 327.5
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#A821AA
secondary
#62C661
accent
#EA3D40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A821AA

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

Preview Lab → · Contrast checker → · Palette generator →

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