#A52BB4#A52BB4

#A52BB4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.218 H 323.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A52BB4
RGBrgb(165, 43, 180)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(8.3%, 76.1%, 0%, 29.4%)
CIE-LABlab(42.80, 65.28, -46.92)
CIE-LCHlch(42.80, 80.39, 324.29°)
OKLaboklab(53.56% 0.1744 -0.1311)
OKLCHoklch(53.56% 0.218 323.1)
XYZxyz(24.6184, 13.0239, 44.3883)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB4 #3AB42B
analogous
#602BB4 #A52BB4 #B42B7E
triadic
#A52BB4 #B4A52B #2BB4A5
tetradic
#A52BB4 #B4602B #3AB42B #2B7EB4
square
#A52BB4 #B4602B #3AB42B #2B7EB4
split-complementary
#A52BB4 #7EB42B #2BB460
monochromatic
#4A1351 #781F83 #A52BB4 #C449D3 #D47ADF

Accessibility & contrast

On white

5.83
#A52BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A52BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BB4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BB4#FFFFFF#000000##FFFFFF
##A52BB41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#A7456E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52bb4;
/* rgb */ color: rgb(165, 43, 180);
/* oklch */ color: oklch(53.6% 0.218 323.1);
Tailwind
colors: {
  custom: {
    50: '#c472cb',
    500: '#a52bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb4;
$custom-light: #c472cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb4",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 293.431,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.21815,
    "h": 323.1
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#A52BB4
secondary
#7DC773
accent
#E54355
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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