#A520A0#A520A0

#A520A0 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.213 H 329.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A520A0
RGBrgb(165, 32, 160)
HSLhsl(302, 68%, 39%)
HSVhsv(302, 81%, 65%)
CMYKcmyk(0%, 80.6%, 3%, 35.3%)
CIE-LABlab(40.53, 65.09, -38.63)
CIE-LCHlch(40.53, 75.69, 329.31°)
OKLaboklab(51.57% 0.1841 -0.1069)
OKLCHoklch(51.57% 0.213 329.9)
XYZxyz(22.3786, 11.5722, 34.3059)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A520A0 #20A525
analogous
#6720A5 #A520A0 #A5205D
triadic
#A520A0 #A0A520 #20A0A5
tetradic
#A520A0 #A56720 #20A525 #205DA5
square
#A520A0 #A56720 #20A525 #205DA5
split-complementary
#A520A0 #5DA520 #20A567
monochromatic
#3E0C3D #72166E #A520A0 #D62CD0 #E05FDB

Accessibility & contrast

On white

6.34
#A520A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A520A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A520A0
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A520A0#FFFFFF#000000##FFFFFF
##A520A01.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A3
Deuteranopia (green-blind)
#4B669D
Tritanopia (blue-blind)
#AB3561
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a520a0;
/* rgb */ color: rgb(165, 32, 160);
/* oklch */ color: oklch(51.6% 0.213 329.9);
Tailwind
colors: {
  custom: {
    50: '#c46dbc',
    500: '#a520a0',
    950: '#000000',
  },
}
SCSS
$custom: #a520a0;
$custom-light: #c46dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a520a0",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 302.256,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.2129,
    "h": 329.9
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#A520A0
secondary
#5CC560
accent
#EA443D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A520A0

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

Preview Lab → · Contrast checker → · Palette generator →

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