#A522A4#A522A4

#A522A4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.214 H 328.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A522A4
RGBrgb(165, 34, 164)
HSLhsl(300, 66%, 39%)
HSVhsv(300, 79%, 65%)
CMYKcmyk(0%, 79.4%, 0.6%, 35.3%)
CIE-LABlab(40.94, 65.21, -40.38)
CIE-LCHlch(40.94, 76.70, 328.23°)
OKLaboklab(51.93% 0.1825 -0.112)
OKLCHoklch(51.93% 0.214 328.5)
XYZxyz(22.7897, 11.8255, 36.1970)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522A4 #22A523
analogous
#6522A5 #A522A4 #A52263
triadic
#A522A4 #A4A522 #22A4A5
tetradic
#A522A4 #A56522 #22A523 #2263A5
square
#A522A4 #A56522 #22A523 #2263A5
split-complementary
#A522A4 #63A522 #22A565
monochromatic
#400D3F #721872 #A522A4 #D430D3 #DF63DE

Accessibility & contrast

On white

6.24
#A522A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A522A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A522A4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522A4#FFFFFF#000000##FFFFFF
##A522A41.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#AB3863
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a522a4;
/* rgb */ color: rgb(165, 34, 164);
/* oklch */ color: oklch(51.9% 0.214 328.5);
Tailwind
colors: {
  custom: {
    50: '#c46ebf',
    500: '#a522a4',
    950: '#000000',
  },
}
SCSS
$custom: #a522a4;
$custom-light: #c46ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a522a4",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 300.458,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51933,
    "c": 0.21414,
    "h": 328.5
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#A522A4
secondary
#5FC460
accent
#E9403F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A522A4

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

Preview Lab → · Contrast checker → · Palette generator →

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