#A522AF#A522AF

#A522AF is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.222 H 324.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A522AF
RGBrgb(165, 34, 175)
HSLhsl(296, 67%, 41%)
HSVhsv(296, 81%, 69%)
CMYKcmyk(5.7%, 80.6%, 0%, 31.4%)
CIE-LABlab(41.60, 67.01, -45.89)
CIE-LCHlch(41.60, 81.22, 325.60°)
OKLaboklab(52.61% 0.1819 -0.128)
OKLCHoklch(52.61% 0.222 324.9)
XYZxyz(23.8263, 12.2401, 41.6568)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522AF #2CAF22
analogous
#5E22AF #A522AF #AF2272
triadic
#A522AF #AFA522 #22AFA5
tetradic
#A522AF #AF5E22 #2CAF22 #2272AF
square
#A522AF #AF5E22 #2CAF22 #2272AF
split-complementary
#A522AF #72AF22 #22AF5E
monochromatic
#440E49 #75187C #A522AF #CD36D8 #D969E2

Accessibility & contrast

On white

6.09
#A522AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A522AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A522AF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522AF#FFFFFF#000000##FFFFFF
##A522AF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#A93E6A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a522af;
/* rgb */ color: rgb(165, 34, 175);
/* oklch */ color: oklch(52.6% 0.222 324.9);
Tailwind
colors: {
  custom: {
    50: '#c46fc7',
    500: '#a522af',
    950: '#000000',
  },
}
SCSS
$custom: #a522af;
$custom-light: #c46fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a522af",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 295.745,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.22241,
    "h": 324.9
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#A522AF
secondary
#6CC865
accent
#EA3D4A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A522AF

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

Preview Lab → · Contrast checker → · Palette generator →

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