#A52599#A52599

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

Color values

HEX#A52599
RGBrgb(165, 37, 153)
HSLhsl(306, 63%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 77.6%, 7.3%, 35.3%)
CIE-LABlab(40.61, 62.64, -34.27)
CIE-LCHlch(40.61, 71.41, 331.32°)
OKLaboklab(51.5% 0.1802 -0.0943)
OKLCHoklch(51.5% 0.203 332.4)
XYZxyz(21.9285, 11.6242, 31.2196)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52599 #25A531
analogous
#7125A5 #A52599 #A52559
triadic
#A52599 #99A525 #2599A5
tetradic
#A52599 #A57125 #25A531 #2559A5
square
#A52599 #A57125 #25A531 #2559A5
split-complementary
#A52599 #59A525 #25A571
monochromatic
#410F3C #731A6B #A52599 #D235C3 #DD67D2

Accessibility & contrast

On white

6.32
#A52599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52599
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52599#FFFFFF#000000##FFFFFF
##A525991.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#AC345E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52599;
/* rgb */ color: rgb(165, 37, 153);
/* oklch */ color: oklch(51.5% 0.203 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46fb7',
    500: '#a52599',
    950: '#000000',
  },
}
SCSS
$custom: #a52599;
$custom-light: #c46fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52599",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 305.625,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51504,
    "c": 0.20334,
    "h": 332.4
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#A52599
secondary
#63C36C
accent
#E65141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52599

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

Preview Lab → · Contrast checker → · Palette generator →

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