#A5209D#A5209D

#A5209D is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 330.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A5209D
RGBrgb(165, 32, 157)
HSLhsl(304, 68%, 39%)
HSVhsv(304, 81%, 65%)
CMYKcmyk(0%, 80.6%, 4.8%, 35.3%)
CIE-LABlab(40.36, 64.62, -37.09)
CIE-LCHlch(40.36, 74.51, 330.15°)
OKLaboklab(51.39% 0.1842 -0.1024)
OKLCHoklch(51.39% 0.211 330.9)
XYZxyz(22.1193, 11.4685, 32.9404)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5209D #20A528
analogous
#6A20A5 #A5209D #A5205A
triadic
#A5209D #9DA520 #209DA5
tetradic
#A5209D #A56A20 #20A528 #205AA5
square
#A5209D #A56A20 #20A528 #205AA5
split-complementary
#A5209D #5AA520 #20A56A
monochromatic
#3E0C3B #72166C #A5209D #D62CCC #E05FD8

Accessibility & contrast

On white

6.38
#A5209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A5209D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5209D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5209D#FFFFFF#000000##FFFFFF
##A5209D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#4D659A
Tritanopia (blue-blind)
#AC335F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5209d;
/* rgb */ color: rgb(165, 32, 157);
/* oklch */ color: oklch(51.4% 0.211 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46dba',
    500: '#a5209d',
    950: '#000000',
  },
}
SCSS
$custom: #a5209d;
$custom-light: #c46dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5209d",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 303.609,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.21073,
    "h": 330.9
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#A5209D
secondary
#5CC562
accent
#EA483D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5209D

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

Preview Lab → · Contrast checker → · Palette generator →

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