#A52DBE#A52DBE

#A52DBE is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.224 H 320.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A52DBE
RGBrgb(165, 45, 190)
HSLhsl(290, 62%, 46%)
HSVhsv(290, 76%, 75%)
CMYKcmyk(13.2%, 76.3%, 0%, 25.5%)
CIE-LABlab(43.65, 66.43, -51.43)
CIE-LCHlch(43.65, 84.01, 322.25°)
OKLaboklab(54.36% 0.1717 -0.1443)
OKLCHoklch(54.36% 0.224 320)
XYZxyz(25.7485, 13.5951, 49.9731)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DBE #46BE2D
analogous
#5C2DBE #A52DBE #BE2D8E
triadic
#A52DBE #BEA52D #2DBEA5
tetradic
#A52DBE #BE5C2D #46BE2D #2D8EBE
square
#A52DBE #BE5C2D #46BE2D #2D8EBE
split-complementary
#A52DBE #8EBE2D #2DBE5C
monochromatic
#4F165B #7A218D #A52DBE #BF52D6 #D284E2

Accessibility & contrast

On white

5.65
#A52DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A52DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DBE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DBE#FFFFFF#000000##FFFFFF
##A52DBE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#A54B75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52dbe;
/* rgb */ color: rgb(165, 45, 190);
/* oklch */ color: oklch(54.4% 0.224 320.0);
Tailwind
colors: {
  custom: {
    50: '#c473d2',
    500: '#a52dbe',
    950: '#000000',
  },
}
SCSS
$custom: #a52dbe;
$custom-light: #c473d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52dbe",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 289.655,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.22431,
    "h": 320
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#A52DBE
secondary
#89CB7C
accent
#E5435F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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