#A52DB7#A52DB7

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

Color values

HEX#A52DB7
RGBrgb(165, 45, 183)
HSLhsl(292, 61%, 45%)
HSVhsv(292, 75%, 72%)
CMYKcmyk(9.8%, 75.4%, 0%, 28.2%)
CIE-LABlab(43.21, 65.17, -48.03)
CIE-LCHlch(43.21, 80.96, 323.61°)
OKLaboklab(53.91% 0.1724 -0.1344)
OKLCHoklch(53.91% 0.219 322.1)
XYZxyz(25.0018, 13.2964, 46.0401)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DB7 #3FB72D
analogous
#602DB7 #A52DB7 #B72D84
triadic
#A52DB7 #B7A52D #2DB7A5
tetradic
#A52DB7 #B7602D #3FB72D #2D84B7
square
#A52DB7 #B7602D #3FB72D #2D84B7
split-complementary
#A52DB7 #84B72D #2DB760
monochromatic
#4C1555 #792186 #A52DB7 #C24ED3 #D37FDF

Accessibility & contrast

On white

5.74
#A52DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A52DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DB7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DB7#FFFFFF#000000##FFFFFF
##A52DB71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#416AB4
Tritanopia (blue-blind)
#A74871
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52db7;
/* rgb */ color: rgb(165, 45, 183);
/* oklch */ color: oklch(53.9% 0.219 322.1);
Tailwind
colors: {
  custom: {
    50: '#c473cd',
    500: '#a52db7',
    950: '#000000',
  },
}
SCSS
$custom: #a52db7;
$custom-light: #c473cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52db7",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 292.174,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.21857,
    "h": 322.1
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#A52DB7
secondary
#82C878
accent
#E44459
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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