#A5209F#A5209F

#A5209F is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.212 H 330.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A5209F
RGBrgb(165, 32, 159)
HSLhsl(303, 68%, 39%)
HSVhsv(303, 81%, 65%)
CMYKcmyk(0%, 80.6%, 3.6%, 35.3%)
CIE-LABlab(40.47, 64.93, -38.12)
CIE-LCHlch(40.47, 75.30, 329.59°)
OKLaboklab(51.51% 0.1842 -0.1054)
OKLCHoklch(51.51% 0.212 330.2)
XYZxyz(22.2915, 11.5374, 33.8470)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5209F #20A526
analogous
#6820A5 #A5209F #A5205C
triadic
#A5209F #9FA520 #209FA5
tetradic
#A5209F #A56820 #20A526 #205CA5
square
#A5209F #A56820 #20A526 #205CA5
split-complementary
#A5209F #5CA520 #20A568
monochromatic
#3E0C3C #72166E #A5209F #D62CCE #E05FDA

Accessibility & contrast

On white

6.35
#A5209F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5209F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5209F#FFFFFF#000000##FFFFFF
##A5209F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#AB3560
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5209f;
/* rgb */ color: rgb(165, 32, 159);
/* oklch */ color: oklch(51.5% 0.212 330.2);
Tailwind
colors: {
  custom: {
    50: '#c46dbc',
    500: '#a5209f',
    950: '#000000',
  },
}
SCSS
$custom: #a5209f;
$custom-light: #c46dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5209f",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 302.707,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.21218,
    "h": 330.2
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#A5209F
secondary
#5CC561
accent
#EA453D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5209F

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

Preview Lab → · Contrast checker → · Palette generator →

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