#A52BAE#A52BAE

#A52BAE is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 325.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A52BAE
RGBrgb(165, 43, 174)
HSLhsl(296, 60%, 43%)
HSVhsv(296, 75%, 68%)
CMYKcmyk(5.2%, 75.3%, 0%, 31.8%)
CIE-LABlab(42.44, 64.24, -43.95)
CIE-LCHlch(42.44, 77.83, 325.62°)
OKLaboklab(53.19% 0.1747 -0.1224)
OKLCHoklch(53.19% 0.213 325)
XYZxyz(24.0203, 12.7846, 41.2387)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BAE #34AE2B
analogous
#642BAE #A52BAE #AE2B75
triadic
#A52BAE #AEA52B #2BAEA5
tetradic
#A52BAE #AE642B #34AE2B #2B75AE
square
#A52BAE #AE642B #34AE2B #2B75AE
split-complementary
#A52BAE #75AE2B #2BAE64
monochromatic
#48134C #761F7D #A52BAE #C745D1 #D676DD

Accessibility & contrast

On white

5.90
#A52BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A52BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BAE
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BAE#FFFFFF#000000##FFFFFF
##A52BAE1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#A9436B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52bae;
/* rgb */ color: rgb(165, 43, 174);
/* oklch */ color: oklch(53.2% 0.213 325.0);
Tailwind
colors: {
  custom: {
    50: '#c472c7',
    500: '#a52bae',
    950: '#000000',
  },
}
SCSS
$custom: #a52bae;
$custom-light: #c472c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bae",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 295.878,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53189,
    "c": 0.21336,
    "h": 325
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#A52BAE
secondary
#76C570
accent
#E4444F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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