#A52299#A52299

#A52299 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.206 H 332.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A52299
RGBrgb(165, 34, 153)
HSLhsl(305, 66%, 39%)
HSVhsv(305, 79%, 65%)
CMYKcmyk(0%, 79.4%, 7.3%, 35.3%)
CIE-LABlab(40.32, 63.48, -34.74)
CIE-LCHlch(40.32, 72.37, 331.31°)
OKLaboklab(51.3% 0.1826 -0.0956)
OKLCHoklch(51.3% 0.206 332.4)
XYZxyz(21.8389, 11.4452, 31.1898)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52299 #22A52E
analogous
#7022A5 #A52299 #A52258
triadic
#A52299 #99A522 #2299A5
tetradic
#A52299 #A57022 #22A52E #2258A5
square
#A52299 #A57022 #22A52E #2258A5
split-complementary
#A52299 #58A522 #22A570
monochromatic
#400D3B #72186A #A52299 #D430C5 #DF63D3

Accessibility & contrast

On white

6.39
#A52299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52299
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52299#FFFFFF#000000##FFFFFF
##A522991.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#506596
Tritanopia (blue-blind)
#AC325D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52299;
/* rgb */ color: rgb(165, 34, 153);
/* oklch */ color: oklch(51.3% 0.206 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a52299',
    950: '#000000',
  },
}
SCSS
$custom: #a52299;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52299",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 305.496,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.20613,
    "h": 332.4
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#A52299
secondary
#5FC468
accent
#E94F3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52299

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

Preview Lab → · Contrast checker → · Palette generator →

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