#A52DB3#A52DB3

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

Color values

HEX#A52DB3
RGBrgb(165, 45, 179)
HSLhsl(294, 60%, 44%)
HSVhsv(294, 75%, 70%)
CMYKcmyk(7.8%, 74.9%, 0%, 29.8%)
CIE-LABlab(42.96, 64.46, -46.07)
CIE-LCHlch(42.96, 79.23, 324.45°)
OKLaboklab(53.66% 0.1727 -0.1286)
OKLCHoklch(53.66% 0.215 323.3)
XYZxyz(24.5914, 13.1323, 43.8786)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DB3 #3BB32D
analogous
#622DB3 #A52DB3 #B32D7E
triadic
#A52DB3 #B3A52D #2DB3A5
tetradic
#A52DB3 #B3622D #3BB32D #2D7EB3
square
#A52DB3 #B3622D #3BB32D #2D7EB3
split-complementary
#A52DB3 #7EB32D #2DB362
monochromatic
#4B1451 #782182 #A52DB3 #C44BD2 #D47CDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52DB3#FFFFFF#000000##FFFFFF
##A52DB31.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)
#005DB7
Deuteranopia (green-blind)
#446AB0
Tritanopia (blue-blind)
#A8466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52db3;
/* rgb */ color: rgb(165, 45, 179);
/* oklch */ color: oklch(53.7% 0.215 323.3);
Tailwind
colors: {
  custom: {
    50: '#c473ca',
    500: '#a52db3',
    950: '#000000',
  },
}
SCSS
$custom: #a52db3;
$custom-light: #c473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52db3",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 293.731,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53659,
    "c": 0.21532,
    "h": 323.3
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#A52DB3
secondary
#7EC775
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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