#A5289A#A5289A

#A5289A is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.201 H 332.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A5289A
RGBrgb(165, 40, 154)
HSLhsl(305, 61%, 40%)
HSVhsv(305, 76%, 65%)
CMYKcmyk(0%, 75.8%, 6.7%, 35.3%)
CIE-LABlab(40.98, 61.90, -34.30)
CIE-LCHlch(40.98, 70.77, 331.01°)
OKLaboklab(51.78% 0.1776 -0.0944)
OKLCHoklch(51.78% 0.201 332)
XYZxyz(22.1086, 11.8518, 31.6888)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5289A #28A533
analogous
#7128A5 #A5289A #A5285B
triadic
#A5289A #9AA528 #289AA5
tetradic
#A5289A #A57128 #28A533 #285BA5
square
#A5289A #A57128 #28A533 #285BA5
split-complementary
#A5289A #5BA528 #28A571
monochromatic
#42103E #741C6C #A5289A #CF3BC2 #DB6CD2

Accessibility & contrast

On white

6.23
#A5289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A5289A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5289A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5289A#FFFFFF#000000##FFFFFF
##A5289A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#AC375F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5289a;
/* rgb */ color: rgb(165, 40, 154);
/* oklch */ color: oklch(51.8% 0.201 332.0);
Tailwind
colors: {
  custom: {
    50: '#c370b8',
    500: '#a5289a',
    950: '#000000',
  },
}
SCSS
$custom: #a5289a;
$custom-light: #c370b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5289a",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 305.28,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.2011,
    "h": 332
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#A5289A
secondary
#67C26F
accent
#E45244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5289A

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

Preview Lab → · Contrast checker → · Palette generator →

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