#A5209E#A5209E

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

Color values

HEX#A5209E
RGBrgb(165, 32, 158)
HSLhsl(303, 68%, 39%)
HSVhsv(303, 81%, 65%)
CMYKcmyk(0%, 80.6%, 4.2%, 35.3%)
CIE-LABlab(40.41, 64.78, -37.61)
CIE-LCHlch(40.41, 74.90, 329.86°)
OKLaboklab(51.45% 0.1842 -0.1039)
OKLCHoklch(51.45% 0.211 330.6)
XYZxyz(22.2051, 11.5028, 33.3919)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5209E #20A527
analogous
#6920A5 #A5209E #A5205B
triadic
#A5209E #9EA520 #209EA5
tetradic
#A5209E #A56920 #20A527 #205BA5
square
#A5209E #A56920 #20A527 #205BA5
split-complementary
#A5209E #5BA520 #20A569
monochromatic
#3E0C3C #72166D #A5209E #D62CCD #E05FD9

Accessibility & contrast

On white

6.36
#A5209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A5209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5209E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5209E#FFFFFF#000000##FFFFFF
##A5209E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#AC345F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5209e;
/* rgb */ color: rgb(165, 32, 158);
/* oklch */ color: oklch(51.5% 0.211 330.6);
Tailwind
colors: {
  custom: {
    50: '#c46dbb',
    500: '#a5209e',
    950: '#000000',
  },
}
SCSS
$custom: #a5209e;
$custom-light: #c46dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5209e",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 303.158,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.21145,
    "h": 330.6
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5209E

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

Preview Lab → · Contrast checker → · Palette generator →

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