#A52899#A52899

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

Color values

HEX#A52899
RGBrgb(165, 40, 153)
HSLhsl(306, 61%, 40%)
HSVhsv(306, 76%, 65%)
CMYKcmyk(0%, 75.8%, 7.3%, 35.3%)
CIE-LABlab(40.93, 61.74, -33.78)
CIE-LCHlch(40.93, 70.38, 331.32°)
OKLaboklab(51.73% 0.1775 -0.0929)
OKLCHoklch(51.73% 0.2 332.4)
XYZxyz(22.0257, 11.8187, 31.2520)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52899 #28A534
analogous
#7228A5 #A52899 #A5285A
triadic
#A52899 #99A528 #2899A5
tetradic
#A52899 #A57228 #28A534 #285AA5
square
#A52899 #A57228 #28A534 #285AA5
split-complementary
#A52899 #5AA528 #28A572
monochromatic
#42103E #741C6B #A52899 #CF3BC1 #DB6CD1

Accessibility & contrast

On white

6.24
#A52899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A52899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52899
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52899#FFFFFF#000000##FFFFFF
##A528991.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#AC365F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52899;
/* rgb */ color: rgb(165, 40, 153);
/* oklch */ color: oklch(51.7% 0.200 332.4);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a52899',
    950: '#000000',
  },
}
SCSS
$custom: #a52899;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52899",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 305.76,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.20036,
    "h": 332.4
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#A52899
secondary
#67C270
accent
#E45344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52899

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

Preview Lab → · Contrast checker → · Palette generator →

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