#A52799#A52799

#A52799 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.201 H 332.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A52799
RGBrgb(165, 39, 153)
HSLhsl(306, 62%, 40%)
HSVhsv(306, 76%, 65%)
CMYKcmyk(0%, 76.4%, 7.3%, 35.3%)
CIE-LABlab(40.82, 62.05, -33.95)
CIE-LCHlch(40.82, 70.73, 331.32°)
OKLaboklab(51.65% 0.1784 -0.0933)
OKLCHoklch(51.65% 0.201 332.4)
XYZxyz(21.9924, 11.7521, 31.2409)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52799 #27A533
analogous
#7227A5 #A52799 #A5275A
triadic
#A52799 #99A527 #2799A5
tetradic
#A52799 #A57227 #27A533 #275AA5
square
#A52799 #A57227 #27A533 #275AA5
split-complementary
#A52799 #5AA527 #27A572
monochromatic
#42103D #741B6B #A52799 #D039C2 #DC6AD1

Accessibility & contrast

On white

6.27
#A52799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A52799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52799
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52799#FFFFFF#000000##FFFFFF
##A527991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52799;
/* rgb */ color: rgb(165, 39, 153);
/* oklch */ color: oklch(51.7% 0.201 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36fb7',
    500: '#a52799',
    950: '#000000',
  },
}
SCSS
$custom: #a52799;
$custom-light: #c36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52799",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 305.714,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.20137,
    "h": 332.4
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#A52799
secondary
#66C26E
accent
#E55243
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52799

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

Preview Lab → · Contrast checker → · Palette generator →

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