#A52098#A52098

#A52098 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.207 H 332.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A52098
RGBrgb(165, 32, 152)
HSLhsl(306, 68%, 39%)
HSVhsv(306, 81%, 65%)
CMYKcmyk(0%, 80.6%, 7.9%, 35.3%)
CIE-LABlab(40.08, 63.86, -34.51)
CIE-LCHlch(40.08, 72.59, 331.62°)
OKLaboklab(51.11% 0.1841 -0.0949)
OKLCHoklch(51.11% 0.207 332.7)
XYZxyz(21.7012, 11.3012, 30.7381)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52098 #20A52D
analogous
#6F20A5 #A52098 #A52055
triadic
#A52098 #98A520 #2098A5
tetradic
#A52098 #A56F20 #20A52D #2055A5
square
#A52098 #A56F20 #20A52D #2055A5
split-complementary
#A52098 #55A520 #20A56F
monochromatic
#3E0C3A #721669 #A52098 #D62CC5 #E05FD3

Accessibility & contrast

On white

6.44
#A52098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A52098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52098
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52098#FFFFFF#000000##FFFFFF
##A520981.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#AC315C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52098;
/* rgb */ color: rgb(165, 32, 152);
/* oklch */ color: oklch(51.1% 0.207 332.7);
Tailwind
colors: {
  custom: {
    50: '#c46db7',
    500: '#a52098',
    950: '#000000',
  },
}
SCSS
$custom: #a52098;
$custom-light: #c46db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52098",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 305.865,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.20717,
    "h": 332.7
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52098

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

Preview Lab → · Contrast checker → · Palette generator →

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