#A5249A#A5249A

#A5249A is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 332.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A5249A
RGBrgb(165, 36, 154)
HSLhsl(305, 64%, 39%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 78.2%, 6.7%, 35.3%)
CIE-LABlab(40.57, 63.08, -34.95)
CIE-LCHlch(40.57, 72.12, 331.01°)
OKLaboklab(51.49% 0.181 -0.0962)
OKLCHoklch(51.49% 0.205 332)
XYZxyz(21.9807, 11.5960, 31.6462)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5249A #24A52F
analogous
#7024A5 #A5249A #A5245A
triadic
#A5249A #9AA524 #249AA5
tetradic
#A5249A #A57024 #24A52F #245AA5
square
#A5249A #A57024 #24A52F #245AA5
split-complementary
#A5249A #5AA524 #24A570
monochromatic
#410E3C #73196B #A5249A #D334C5 #DE66D3

Accessibility & contrast

On white

6.33
#A5249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A5249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5249A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5249A#FFFFFF#000000##FFFFFF
##A5249A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AC345E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5249a;
/* rgb */ color: rgb(165, 36, 154);
/* oklch */ color: oklch(51.5% 0.205 332.0);
Tailwind
colors: {
  custom: {
    50: '#c46eb8',
    500: '#a5249a',
    950: '#000000',
  },
}
SCSS
$custom: #a5249a;
$custom-light: #c46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5249a",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 305.116,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51488,
    "c": 0.20502,
    "h": 332
  },
  "luminance": 0.11594
}

Semantic roles & 50–950 ramp

primary
#A5249A
secondary
#62C36A
accent
#E74F41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5249A

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

Preview Lab → · Contrast checker → · Palette generator →

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