#A5409B#A5409B

#A5409B is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.2% C 0.172 H 331.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A5409B
RGBrgb(165, 64, 155)
HSLhsl(306, 44%, 45%)
HSVhsv(306, 61%, 65%)
CMYKcmyk(0%, 61.2%, 6.1%, 35.3%)
CIE-LABlab(44.28, 52.94, -29.71)
CIE-LCHlch(44.28, 60.71, 330.70°)
OKLaboklab(54.19% 0.1512 -0.0813)
OKLCHoklch(54.19% 0.172 331.7)
XYZxyz(23.2668, 14.0344, 32.4874)
Luminance0.1403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5409B #40A54A
analogous
#7D40A5 #A5409B #A54068
triadic
#A5409B #9BA540 #409BA5
tetradic
#A5409B #A57D40 #40A54A #4068A5
square
#A5409B #A57D40 #40A54A #4068A5
split-complementary
#A5409B #68A540 #40A57D
monochromatic
#4D1E48 #792F72 #A5409B #C261B8 #D38DCC

Accessibility & contrast

On white

5.52
#A5409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A5409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5409B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5409B#FFFFFF#000000##FFFFFF
##A5409B1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609E
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#AB4967
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a5409b;
/* rgb */ color: rgb(165, 64, 155);
/* oklch */ color: oklch(54.2% 0.172 331.7);
Tailwind
colors: {
  custom: {
    50: '#c27bb9',
    500: '#a5409b',
    950: '#000000',
  },
}
SCSS
$custom: #a5409b;
$custom-light: #c27bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5409b",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 305.941,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.17172,
    "h": 331.7
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#A5409B
secondary
#83BE89
accent
#D46154
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A5409B

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

Preview Lab → · Contrast checker → · Palette generator →

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