#A52DB8#A52DB8

#A52DB8 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 321.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A52DB8
RGBrgb(165, 45, 184)
HSLhsl(292, 61%, 45%)
HSVhsv(292, 76%, 72%)
CMYKcmyk(10.3%, 75.5%, 0%, 27.8%)
CIE-LABlab(43.27, 65.34, -48.52)
CIE-LCHlch(43.27, 81.39, 323.40°)
OKLaboklab(53.97% 0.1723 -0.1358)
OKLCHoklch(53.97% 0.219 321.8)
XYZxyz(25.1062, 13.3382, 46.5902)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DB8 #40B82D
analogous
#602DB8 #A52DB8 #B82D85
triadic
#A52DB8 #B8A52D #2DB8A5
tetradic
#A52DB8 #B8602D #40B82D #2D85B8
square
#A52DB8 #B8602D #40B82D #2D85B8
split-complementary
#A52DB8 #85B82D #2DB860
monochromatic
#4D1556 #792187 #A52DB8 #C24ED4 #D380E0

Accessibility & contrast

On white

5.73
#A52DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A52DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DB8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DB8#FFFFFF#000000##FFFFFF
##A52DB81.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#406BB5
Tritanopia (blue-blind)
#A74871
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52db8;
/* rgb */ color: rgb(165, 45, 184);
/* oklch */ color: oklch(54.0% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#c473ce',
    500: '#a52db8',
    950: '#000000',
  },
}
SCSS
$custom: #a52db8;
$custom-light: #c473ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a52db8",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 291.799,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.21939,
    "h": 321.8
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#A52DB8
secondary
#83C978
accent
#E4445A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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