#A52CB5#A52CB5

#A52CB5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.218 H 322.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A52CB5
RGBrgb(165, 44, 181)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(8.8%, 75.7%, 0%, 29%)
CIE-LABlab(42.97, 65.13, -47.23)
CIE-LCHlch(42.97, 80.46, 324.05°)
OKLaboklab(53.7% 0.1734 -0.132)
OKLCHoklch(53.7% 0.218 322.7)
XYZxyz(24.7574, 13.1384, 44.9390)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB5 #3CB52C
analogous
#612CB5 #A52CB5 #B52C81
triadic
#A52CB5 #B5A52C #2CB5A5
tetradic
#A52CB5 #B5612C #3CB52C #2C81B5
square
#A52CB5 #B5612C #3CB52C #2C81B5
split-complementary
#A52CB5 #81B52C #2CB561
monochromatic
#4B1453 #782084 #A52CB5 #C34BD3 #D47CDF

Accessibility & contrast

On white

5.79
#A52CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A52CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB5#FFFFFF#000000##FFFFFF
##A52CB51.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#A7476F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52cb5;
/* rgb */ color: rgb(165, 44, 181);
/* oklch */ color: oklch(53.7% 0.218 322.7);
Tailwind
colors: {
  custom: {
    50: '#c473cc',
    500: '#a52cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb5;
$custom-light: #c473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb5",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 292.993,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.21795,
    "h": 322.7
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#A52CB5
secondary
#7FC875
accent
#E44457
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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