#A522AC#A522AC

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

Color values

HEX#A522AC
RGBrgb(165, 34, 172)
HSLhsl(297, 67%, 40%)
HSVhsv(297, 80%, 67%)
CMYKcmyk(4.1%, 80.2%, 0%, 32.5%)
CIE-LABlab(41.41, 66.51, -44.40)
CIE-LCHlch(41.41, 79.97, 326.27°)
OKLaboklab(52.42% 0.1821 -0.1237)
OKLCHoklch(52.42% 0.22 325.8)
XYZxyz(23.5350, 12.1236, 40.1222)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522AC #29AC22
analogous
#6022AC #A522AC #AC226E
triadic
#A522AC #ACA522 #22ACA5
tetradic
#A522AC #AC6022 #29AC22 #226EAC
square
#A522AC #AC6022 #29AC22 #226EAC
split-complementary
#A522AC #6EAC22 #22AC60
monochromatic
#430E46 #741879 #A522AC #CF34D7 #DB67E1

Accessibility & contrast

On white

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

On black

3.42
#A522AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A522AC#FFFFFF#000000##FFFFFF
##A522AC1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#A93D68
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a522ac;
/* rgb */ color: rgb(165, 34, 172);
/* oklch */ color: oklch(52.4% 0.220 325.8);
Tailwind
colors: {
  custom: {
    50: '#c46fc5',
    500: '#a522ac',
    950: '#000000',
  },
}
SCSS
$custom: #a522ac;
$custom-light: #c46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a522ac",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 296.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.22013,
    "h": 325.8
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#A522AC
secondary
#68C763
accent
#EA3E47
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A522AC

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

Preview Lab → · Contrast checker → · Palette generator →

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