#A821A5#A821A5

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

Color values

HEX#A821A5
RGBrgb(168, 33, 165)
HSLhsl(301, 67%, 39%)
HSVhsv(301, 80%, 66%)
CMYKcmyk(0%, 80.4%, 1.8%, 34.1%)
CIE-LABlab(41.42, 66.23, -40.17)
CIE-LCHlch(41.42, 77.46, 328.76°)
OKLaboklab(52.4% 0.1864 -0.1113)
OKLCHoklch(52.4% 0.217 329.2)
XYZxyz(23.4837, 12.1310, 36.6947)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A821A5 #21A824
analogous
#6721A8 #A821A5 #A82162
triadic
#A821A5 #A5A821 #21A5A8
tetradic
#A821A5 #A86721 #21A824 #2162A8
square
#A821A5 #A86721 #21A824 #2162A8
split-complementary
#A821A5 #62A821 #21A867
monochromatic
#420D41 #751773 #A821A5 #D630D3 #E063DE

Accessibility & contrast

On white

6.13
#A821A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A821A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A821A5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A821A5#FFFFFF#000000##FFFFFF
##A821A51.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a821a5;
/* rgb */ color: rgb(168, 33, 165);
/* oklch */ color: oklch(52.4% 0.217 329.2);
Tailwind
colors: {
  custom: {
    50: '#c66ec0',
    500: '#a821a5',
    950: '#000000',
  },
}
SCSS
$custom: #a821a5;
$custom-light: #c66ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a821a5",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 165
  },
  "hsl": {
    "h": 301.333,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.21707,
    "h": 329.2
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#A821A5
secondary
#5FC562
accent
#EA423E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A821A5

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

Preview Lab → · Contrast checker → · Palette generator →

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