#A52DBA#A52DBA

#A52DBA is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.221 H 321.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A52DBA
RGBrgb(165, 45, 186)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 73%)
CMYKcmyk(11.3%, 75.8%, 0%, 27.1%)
CIE-LABlab(43.39, 65.70, -49.50)
CIE-LCHlch(43.39, 82.26, 323.01°)
OKLaboklab(54.1% 0.1721 -0.1386)
OKLCHoklch(54.1% 0.221 321.1)
XYZxyz(25.3174, 13.4227, 47.7021)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DBA #42BA2D
analogous
#5F2DBA #A52DBA #BA2D88
triadic
#A52DBA #BAA52D #2DBAA5
tetradic
#A52DBA #BA5F2D #42BA2D #2D88BA
square
#A52DBA #BA5F2D #42BA2D #2D88BA
split-complementary
#A52DBA #88BA2D #2DBA5F
monochromatic
#4E1557 #792189 #A52DBA #C150D5 #D281E0

Accessibility & contrast

On white

5.70
#A52DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52DBA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DBA#FFFFFF#000000##FFFFFF
##A52DBA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52dba;
/* rgb */ color: rgb(165, 45, 186);
/* oklch */ color: oklch(54.1% 0.221 321.1);
Tailwind
colors: {
  custom: {
    50: '#c473cf',
    500: '#a52dba',
    950: '#000000',
  },
}
SCSS
$custom: #a52dba;
$custom-light: #c473cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52dba",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 291.064,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.22103,
    "h": 321.1
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#A52DBA
secondary
#85C979
accent
#E4445C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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