#A52495#A52495

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

Color values

HEX#A52495
RGBrgb(165, 36, 149)
HSLhsl(307, 64%, 39%)
HSVhsv(307, 78%, 65%)
CMYKcmyk(0%, 78.2%, 9.7%, 35.3%)
CIE-LABlab(40.30, 62.32, -32.34)
CIE-LCHlch(40.30, 70.21, 332.57°)
OKLaboklab(51.21% 0.1809 -0.0887)
OKLCHoklch(51.21% 0.201 333.9)
XYZxyz(21.5729, 11.4329, 29.4985)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52495 #24A534
analogous
#7524A5 #A52495 #A52455
triadic
#A52495 #95A524 #2495A5
tetradic
#A52495 #A57524 #24A534 #2455A5
square
#A52495 #A57524 #24A534 #2455A5
split-complementary
#A52495 #55A524 #24A575
monochromatic
#410E3A #731968 #A52495 #D334BF #DE66CF

Accessibility & contrast

On white

6.39
#A52495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52495
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52495#FFFFFF#000000##FFFFFF
##A524951.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#526692
Tritanopia (blue-blind)
#AD315B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52495;
/* rgb */ color: rgb(165, 36, 149);
/* oklch */ color: oklch(51.2% 0.201 333.9);
Tailwind
colors: {
  custom: {
    50: '#c46eb4',
    500: '#a52495',
    950: '#000000',
  },
}
SCSS
$custom: #a52495;
$custom-light: #c46eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52495",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 307.442,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.20144,
    "h": 333.9
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#A52495
secondary
#62C36E
accent
#E75541
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52495

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

Preview Lab → · Contrast checker → · Palette generator →

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