#A52298#A52298

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

Color values

HEX#A52298
RGBrgb(165, 34, 152)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 79%, 65%)
CMYKcmyk(0%, 79.4%, 7.9%, 35.3%)
CIE-LABlab(40.27, 63.33, -34.22)
CIE-LCHlch(40.27, 71.98, 331.62°)
OKLaboklab(51.24% 0.1826 -0.0941)
OKLCHoklch(51.24% 0.205 332.7)
XYZxyz(21.7567, 11.4123, 30.7566)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52298 #22A52F
analogous
#7122A5 #A52298 #A52257
triadic
#A52298 #98A522 #2298A5
tetradic
#A52298 #A57122 #22A52F #2257A5
square
#A52298 #A57122 #22A52F #2257A5
split-complementary
#A52298 #57A522 #22A571
monochromatic
#400D3B #721869 #A52298 #D430C4 #DF63D2

Accessibility & contrast

On white

6.40
#A52298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52298
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52298#FFFFFF#000000##FFFFFF
##A522981.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#AC325D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52298;
/* rgb */ color: rgb(165, 34, 152);
/* oklch */ color: oklch(51.2% 0.205 332.7);
Tailwind
colors: {
  custom: {
    50: '#c46eb7',
    500: '#a52298',
    950: '#000000',
  },
}
SCSS
$custom: #a52298;
$custom-light: #c46eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52298",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 305.954,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.20542,
    "h": 332.7
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#A52298
secondary
#5FC469
accent
#E9503F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52298

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

Preview Lab → · Contrast checker → · Palette generator →

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