#A52DB2#A52DB2

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

Color values

HEX#A52DB2
RGBrgb(165, 45, 178)
HSLhsl(294, 60%, 44%)
HSVhsv(294, 75%, 70%)
CMYKcmyk(7.3%, 74.7%, 0%, 30.2%)
CIE-LABlab(42.90, 64.28, -45.58)
CIE-LCHlch(42.90, 78.80, 324.66°)
OKLaboklab(53.6% 0.1727 -0.1272)
OKLCHoklch(53.6% 0.215 323.6)
XYZxyz(24.4906, 13.0920, 43.3479)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DB2 #3AB22D
analogous
#622DB2 #A52DB2 #B22D7C
triadic
#A52DB2 #B2A52D #2DB2A5
tetradic
#A52DB2 #B2622D #3AB22D #2D7CB2
square
#A52DB2 #B2622D #3AB22D #2D7CB2
split-complementary
#A52DB2 #7CB22D #2DB262
monochromatic
#4A1450 #782181 #A52DB2 #C44BD1 #D47CDE

Accessibility & contrast

On white

5.80
#A52DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A52DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DB2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DB2#FFFFFF#000000##FFFFFF
##A52DB21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#A8466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52db2;
/* rgb */ color: rgb(165, 45, 178);
/* oklch */ color: oklch(53.6% 0.215 323.6);
Tailwind
colors: {
  custom: {
    50: '#c473ca',
    500: '#a52db2',
    950: '#000000',
  },
}
SCSS
$custom: #a52db2;
$custom-light: #c473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52db2",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 294.135,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.21451,
    "h": 323.6
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#A52DB2
secondary
#7DC675
accent
#E34554
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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