#A5209A#A5209A

#A5209A is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.209 H 332.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A5209A
RGBrgb(165, 32, 154)
HSLhsl(305, 68%, 39%)
HSVhsv(305, 81%, 65%)
CMYKcmyk(0%, 80.6%, 6.7%, 35.3%)
CIE-LABlab(40.19, 64.16, -35.54)
CIE-LCHlch(40.19, 73.35, 331.02°)
OKLaboklab(51.22% 0.1842 -0.0979)
OKLCHoklch(51.22% 0.209 332)
XYZxyz(21.8664, 11.3673, 31.6081)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5209A #20A52B
analogous
#6D20A5 #A5209A #A52057
triadic
#A5209A #9AA520 #209AA5
tetradic
#A5209A #A56D20 #20A52B #2057A5
square
#A5209A #A56D20 #20A52B #2057A5
split-complementary
#A5209A #57A520 #20A56D
monochromatic
#3E0C3A #72166A #A5209A #D62CC8 #E05FD5

Accessibility & contrast

On white

6.42
#A5209A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A5209A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5209A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5209A#FFFFFF#000000##FFFFFF
##A5209A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#AC325D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5209a;
/* rgb */ color: rgb(165, 32, 154);
/* oklch */ color: oklch(51.2% 0.209 332.0);
Tailwind
colors: {
  custom: {
    50: '#c46db8',
    500: '#a5209a',
    950: '#000000',
  },
}
SCSS
$custom: #a5209a;
$custom-light: #c46db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5209a",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 304.962,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.20858,
    "h": 332
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

primary
#A5209A
secondary
#5CC565
accent
#EA4C3D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5209A

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

Preview Lab → · Contrast checker → · Palette generator →

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