#A5209C#A5209C

#A5209C is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.210 H 331.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A5209C
RGBrgb(165, 32, 156)
HSLhsl(304, 68%, 39%)
HSVhsv(304, 81%, 65%)
CMYKcmyk(0%, 80.6%, 5.5%, 35.3%)
CIE-LABlab(40.30, 64.47, -36.58)
CIE-LCHlch(40.30, 74.12, 330.43°)
OKLaboklab(51.33% 0.1842 -0.1009)
OKLCHoklch(51.33% 0.21 331.3)
XYZxyz(22.0343, 11.4345, 32.4926)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5209C #20A529
analogous
#6B20A5 #A5209C #A52059
triadic
#A5209C #9CA520 #209CA5
tetradic
#A5209C #A56B20 #20A529 #2059A5
square
#A5209C #A56B20 #20A529 #2059A5
split-complementary
#A5209C #59A520 #20A56B
monochromatic
#3E0C3B #72166C #A5209C #D62CCB #E05FD7

Accessibility & contrast

On white

6.39
#A5209C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5209C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5209C#FFFFFF#000000##FFFFFF
##A5209C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#AC335E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5209c;
/* rgb */ color: rgb(165, 32, 156);
/* oklch */ color: oklch(51.3% 0.210 331.3);
Tailwind
colors: {
  custom: {
    50: '#c46dba',
    500: '#a5209c',
    950: '#000000',
  },
}
SCSS
$custom: #a5209c;
$custom-light: #c46dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5209c",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 304.06,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.21001,
    "h": 331.3
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#A5209C
secondary
#5CC563
accent
#EA493D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5209C

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

Preview Lab → · Contrast checker → · Palette generator →

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