#A52DB9#A52DB9

#A52DB9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.220 H 321.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A52DB9
RGBrgb(165, 45, 185)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 73%)
CMYKcmyk(10.8%, 75.7%, 0%, 27.5%)
CIE-LABlab(43.33, 65.52, -49.01)
CIE-LCHlch(43.33, 81.83, 323.20°)
OKLaboklab(54.04% 0.1722 -0.1372)
OKLCHoklch(54.04% 0.22 321.5)
XYZxyz(25.2114, 13.3803, 47.1442)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DB9 #41B92D
analogous
#5F2DB9 #A52DB9 #B92D87
triadic
#A52DB9 #B9A52D #2DB9A5
tetradic
#A52DB9 #B95F2D #41B92D #2D87B9
square
#A52DB9 #B95F2D #41B92D #2D87B9
split-complementary
#A52DB9 #87B92D #2DB95F
monochromatic
#4D1557 #792188 #A52DB9 #C14FD4 #D280E0

Accessibility & contrast

On white

5.71
#A52DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A52DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DB9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DB9#FFFFFF#000000##FFFFFF
##A52DB91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#3F6BB6
Tritanopia (blue-blind)
#A64972
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52db9;
/* rgb */ color: rgb(165, 45, 185);
/* oklch */ color: oklch(54.0% 0.220 321.5);
Tailwind
colors: {
  custom: {
    50: '#c473cf',
    500: '#a52db9',
    950: '#000000',
  },
}
SCSS
$custom: #a52db9;
$custom-light: #c473cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52db9",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 291.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.22021,
    "h": 321.5
  },
  "luminance": 0.13379
}

Semantic roles & 50–950 ramp

primary
#A52DB9
secondary
#84C979
accent
#E4445B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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