#A520A9#A520A9

#A520A9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.220 H 326.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A520A9
RGBrgb(165, 32, 169)
HSLhsl(298, 68%, 39%)
HSVhsv(298, 81%, 66%)
CMYKcmyk(2.4%, 81.1%, 0%, 33.7%)
CIE-LABlab(41.05, 66.53, -43.18)
CIE-LCHlch(41.05, 79.32, 327.01°)
OKLaboklab(52.11% 0.1837 -0.1201)
OKLCHoklch(52.11% 0.22 326.8)
XYZxyz(23.1946, 11.8986, 38.6034)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A520A9 #24A920
analogous
#6120A9 #A520A9 #A92069
triadic
#A520A9 #A9A520 #20A9A5
tetradic
#A520A9 #A96120 #24A920 #2069A9
square
#A520A9 #A96120 #24A920 #2069A9
split-complementary
#A520A9 #69A920 #20A961
monochromatic
#410D42 #731676 #A520A9 #D32FD8 #DE62E1

Accessibility & contrast

On white

6.21
#A520A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A520A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A520A9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A520A9#FFFFFF#000000##FFFFFF
##A520A91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#AA3A66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a520a9;
/* rgb */ color: rgb(165, 32, 169);
/* oklch */ color: oklch(52.1% 0.220 326.8);
Tailwind
colors: {
  custom: {
    50: '#c46ec3',
    500: '#a520a9',
    950: '#000000',
  },
}
SCSS
$custom: #a520a9;
$custom-light: #c46ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a520a9",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 298.248,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.21952,
    "h": 326.8
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#A520A9
secondary
#62C65F
accent
#EB3D42
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A520A9

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

Preview Lab → · Contrast checker → · Palette generator →

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