#A52099#A52099

#A52099 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.208 H 332.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A52099
RGBrgb(165, 32, 153)
HSLhsl(305, 68%, 39%)
HSVhsv(305, 81%, 65%)
CMYKcmyk(0%, 80.6%, 7.3%, 35.3%)
CIE-LABlab(40.14, 64.01, -35.03)
CIE-LCHlch(40.14, 72.97, 331.31°)
OKLaboklab(51.16% 0.1842 -0.0964)
OKLCHoklch(51.16% 0.208 332.4)
XYZxyz(21.7834, 11.3341, 31.1713)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52099 #20A52C
analogous
#6E20A5 #A52099 #A52056
triadic
#A52099 #99A520 #2099A5
tetradic
#A52099 #A56E20 #20A52C #2056A5
square
#A52099 #A56E20 #20A52C #2056A5
split-complementary
#A52099 #56A520 #20A56E
monochromatic
#3E0C3A #721669 #A52099 #D62CC7 #E05FD4

Accessibility & contrast

On white

6.43
#A52099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52099
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52099#FFFFFF#000000##FFFFFF
##A520991.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#AC315D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52099;
/* rgb */ color: rgb(165, 32, 153);
/* oklch */ color: oklch(51.2% 0.208 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46db7',
    500: '#a52099',
    950: '#000000',
  },
}
SCSS
$custom: #a52099;
$custom-light: #c46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52099",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 305.414,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.20787,
    "h": 332.4
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#A52099
secondary
#5CC566
accent
#EA4D3D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52099

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

Preview Lab → · Contrast checker → · Palette generator →

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