#A52399#A52399

#A52399 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.205 H 332.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A52399
RGBrgb(165, 35, 153)
HSLhsl(306, 65%, 39%)
HSVhsv(306, 79%, 65%)
CMYKcmyk(0%, 78.8%, 7.3%, 35.3%)
CIE-LABlab(40.42, 63.21, -34.59)
CIE-LCHlch(40.42, 72.05, 331.31°)
OKLaboklab(51.36% 0.1818 -0.0952)
OKLCHoklch(51.36% 0.205 332.4)
XYZxyz(21.8679, 11.5032, 31.1994)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52399 #23A52F
analogous
#7023A5 #A52399 #A52358
triadic
#A52399 #99A523 #2399A5
tetradic
#A52399 #A57023 #23A52F #2358A5
square
#A52399 #A57023 #23A52F #2358A5
split-complementary
#A52399 #58A523 #23A570
monochromatic
#400E3B #73186A #A52399 #D332C5 #DE64D3

Accessibility & contrast

On white

6.36
#A52399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A52399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52399
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52399#FFFFFF#000000##FFFFFF
##A523991.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#AC335D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52399;
/* rgb */ color: rgb(165, 35, 153);
/* oklch */ color: oklch(51.4% 0.205 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a52399',
    950: '#000000',
  },
}
SCSS
$custom: #a52399;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52399",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 305.538,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51363,
    "c": 0.20522,
    "h": 332.4
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#A52399
secondary
#60C469
accent
#E84F40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52399

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

Preview Lab → · Contrast checker → · Palette generator →

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