#A52DB4#A52DB4

#A52DB4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.216 H 323.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A52DB4
RGBrgb(165, 45, 180)
HSLhsl(293, 60%, 44%)
HSVhsv(293, 75%, 71%)
CMYKcmyk(8.3%, 75%, 0%, 29.4%)
CIE-LABlab(43.02, 64.63, -46.56)
CIE-LCHlch(43.02, 79.66, 324.23°)
OKLaboklab(53.72% 0.1726 -0.1301)
OKLCHoklch(53.72% 0.216 323)
XYZxyz(24.6929, 13.1729, 44.4132)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DB4 #3CB42D
analogous
#622DB4 #A52DB4 #B42D80
triadic
#A52DB4 #B4A52D #2DB4A5
tetradic
#A52DB4 #B4622D #3CB42D #2D80B4
square
#A52DB4 #B4622D #3CB42D #2D80B4
split-complementary
#A52DB4 #80B42D #2DB462
monochromatic
#4B1552 #782183 #A52DB4 #C34CD2 #D47DDE

Accessibility & contrast

On white

5.78
#A52DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52DB4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DB4#FFFFFF#000000##FFFFFF
##A52DB41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#A7476F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52db4;
/* rgb */ color: rgb(165, 45, 180);
/* oklch */ color: oklch(53.7% 0.216 323.0);
Tailwind
colors: {
  custom: {
    50: '#c473cb',
    500: '#a52db4',
    950: '#000000',
  },
}
SCSS
$custom: #a52db4;
$custom-light: #c473cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a52db4",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 293.333,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.21613,
    "h": 323
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#A52DB4
secondary
#7FC776
accent
#E34556
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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