#A521BD#A521BD

#A521BD is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.5% C 0.234 H 320.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A521BD
RGBrgb(165, 33, 189)
HSLhsl(291, 70%, 44%)
HSVhsv(291, 83%, 74%)
CMYKcmyk(12.7%, 82.5%, 0%, 25.9%)
CIE-LABlab(42.40, 69.66, -52.85)
CIE-LCHlch(42.40, 87.44, 322.82°)
OKLaboklab(53.47% 0.1809 -0.1484)
OKLCHoklch(53.47% 0.234 320.6)
XYZxyz(25.2451, 12.7626, 49.2679)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A521BD #39BD21
analogous
#5721BD #A521BD #BD2187
triadic
#A521BD #BDA521 #21BDA5
tetradic
#A521BD #BD5721 #39BD21 #2187BD
square
#A521BD #BD5721 #39BD21 #2187BD
split-complementary
#A521BD #87BD21 #21BD57
monochromatic
#4A0F55 #781889 #A521BD #C53EDD #D472E6

Accessibility & contrast

On white

5.91
#A521BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A521BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A521BD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A521BD#FFFFFF#000000##FFFFFF
##A521BD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#3568BA
Tritanopia (blue-blind)
#A64572
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a521bd;
/* rgb */ color: rgb(165, 33, 189);
/* oklch */ color: oklch(53.5% 0.234 320.6);
Tailwind
colors: {
  custom: {
    50: '#c46fd2',
    500: '#a521bd',
    950: '#000000',
  },
}
SCSS
$custom: #a521bd;
$custom-light: #c46fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a521bd",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 290.769,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.23396,
    "h": 320.6
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#A521BD
secondary
#7BCD6D
accent
#ED3B56
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A521BD

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

Preview Lab → · Contrast checker → · Palette generator →

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