#A52199#A52199

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

Color values

HEX#A52199
RGBrgb(165, 33, 153)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80%, 7.3%, 35.3%)
CIE-LABlab(40.23, 63.75, -34.88)
CIE-LCHlch(40.23, 72.67, 331.31°)
OKLaboklab(51.23% 0.1834 -0.096)
OKLCHoklch(51.23% 0.207 332.4)
XYZxyz(21.8108, 11.3888, 31.1804)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52199 #21A52D
analogous
#6F21A5 #A52199 #A52157
triadic
#A52199 #99A521 #2199A5
tetradic
#A52199 #A56F21 #21A52D #2157A5
square
#A52199 #A56F21 #21A52D #2157A5
split-complementary
#A52199 #57A521 #21A56F
monochromatic
#3F0D3A #72176A #A52199 #D52EC6 #DF61D4

Accessibility & contrast

On white

6.41
#A52199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A52199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52199
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52199#FFFFFF#000000##FFFFFF
##A521991.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52199;
/* rgb */ color: rgb(165, 33, 153);
/* oklch */ color: oklch(51.2% 0.207 332.4);
Tailwind
colors: {
  custom: {
    50: '#c46db7',
    500: '#a52199',
    950: '#000000',
  },
}
SCSS
$custom: #a52199;
$custom-light: #c46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52199",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 305.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.20702,
    "h": 332.4
  },
  "luminance": 0.11387
}

Semantic roles & 50–950 ramp

primary
#A52199
secondary
#5EC467
accent
#EA4E3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52199

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

Preview Lab → · Contrast checker → · Palette generator →

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