#A52297#A52297

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

Color values

HEX#A52297
RGBrgb(165, 34, 151)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 79%, 65%)
CMYKcmyk(0%, 79.4%, 8.5%, 35.3%)
CIE-LABlab(40.21, 63.18, -33.69)
CIE-LCHlch(40.21, 71.60, 331.93°)
OKLaboklab(51.18% 0.1826 -0.0926)
OKLCHoklch(51.18% 0.205 333.1)
XYZxyz(21.6751, 11.3796, 30.3271)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52297 #22A530
analogous
#7222A5 #A52297 #A52256
triadic
#A52297 #97A522 #2297A5
tetradic
#A52297 #A57222 #22A530 #2256A5
square
#A52297 #A57222 #22A530 #2256A5
split-complementary
#A52297 #56A522 #22A572
monochromatic
#400D3A #721869 #A52297 #D430C3 #DF63D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52297#FFFFFF#000000##FFFFFF
##A522971.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)
#1B539A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#AD315C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52297;
/* rgb */ color: rgb(165, 34, 151);
/* oklch */ color: oklch(51.2% 0.205 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46eb6',
    500: '#a52297',
    950: '#000000',
  },
}
SCSS
$custom: #a52297;
$custom-light: #c46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52297",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 306.412,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51183,
    "c": 0.20471,
    "h": 333.1
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#A52297
secondary
#5FC46A
accent
#E9513F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52297

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

Preview Lab → · Contrast checker → · Palette generator →

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