#A52396#A52396

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

Color values

HEX#A52396
RGBrgb(165, 35, 150)
HSLhsl(307, 65%, 39%)
HSVhsv(307, 79%, 65%)
CMYKcmyk(0%, 78.8%, 9.1%, 35.3%)
CIE-LABlab(40.25, 62.75, -33.02)
CIE-LCHlch(40.25, 70.91, 332.25°)
OKLaboklab(51.2% 0.1817 -0.0906)
OKLCHoklch(51.2% 0.203 333.5)
XYZxyz(21.6233, 11.4053, 29.9109)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52396 #23A532
analogous
#7323A5 #A52396 #A52355
triadic
#A52396 #96A523 #2396A5
tetradic
#A52396 #A57323 #23A532 #2355A5
square
#A52396 #A57323 #23A532 #2355A5
split-complementary
#A52396 #55A523 #23A573
monochromatic
#400E3A #731868 #A52396 #D332C1 #DE64D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52396#FFFFFF#000000##FFFFFF
##A523961.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)
#1D5399
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#AD315C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52396;
/* rgb */ color: rgb(165, 35, 150);
/* oklch */ color: oklch(51.2% 0.203 333.5);
Tailwind
colors: {
  custom: {
    50: '#c46eb5',
    500: '#a52396',
    950: '#000000',
  },
}
SCSS
$custom: #a52396;
$custom-light: #c46eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52396",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 306.923,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.20308,
    "h": 333.5
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#A52396
secondary
#60C46C
accent
#E85340
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52396

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

Preview Lab → · Contrast checker → · Palette generator →

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