#A5209B#A5209B

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

Color values

HEX#A5209B
RGBrgb(165, 32, 155)
HSLhsl(305, 68%, 39%)
HSVhsv(305, 81%, 65%)
CMYKcmyk(0%, 80.6%, 6.1%, 35.3%)
CIE-LABlab(40.25, 64.32, -36.06)
CIE-LCHlch(40.25, 73.74, 330.72°)
OKLaboklab(51.28% 0.1842 -0.0994)
OKLCHoklch(51.28% 0.209 331.6)
XYZxyz(21.9500, 11.4008, 32.0485)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5209B #20A52A
analogous
#6C20A5 #A5209B #A52058
triadic
#A5209B #9BA520 #209BA5
tetradic
#A5209B #A56C20 #20A52A #2058A5
square
#A5209B #A56C20 #20A52A #2058A5
split-complementary
#A5209B #58A520 #20A56C
monochromatic
#3E0C3B #72166B #A5209B #D62CC9 #E05FD6

Accessibility & contrast

On white

6.40
#A5209B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A5209B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5209B
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5209B#FFFFFF#000000##FFFFFF
##A5209B1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#AC325E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5209b;
/* rgb */ color: rgb(165, 32, 155);
/* oklch */ color: oklch(51.3% 0.209 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46db9',
    500: '#a5209b',
    950: '#000000',
  },
}
SCSS
$custom: #a5209b;
$custom-light: #c46db9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5209b",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 304.511,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.2093,
    "h": 331.6
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#A5209B
secondary
#5CC564
accent
#EA4A3D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5209B

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

Preview Lab → · Contrast checker → · Palette generator →

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