#A521BC#A521BC

#A521BC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.233 H 320.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A521BC
RGBrgb(165, 33, 188)
HSLhsl(291, 70%, 43%)
HSVhsv(291, 82%, 74%)
CMYKcmyk(12.2%, 82.4%, 0%, 26.3%)
CIE-LABlab(42.34, 69.49, -52.37)
CIE-LCHlch(42.34, 87.01, 323.00°)
OKLaboklab(53.4% 0.181 -0.147)
OKLCHoklch(53.4% 0.233 320.9)
XYZxyz(25.1369, 12.7193, 48.6982)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A521BC #38BC21
analogous
#5721BC #A521BC #BC2185
triadic
#A521BC #BCA521 #21BCA5
tetradic
#A521BC #BC5721 #38BC21 #2185BC
square
#A521BC #BC5721 #38BC21 #2185BC
split-complementary
#A521BC #85BC21 #21BC57
monochromatic
#4A0F54 #771888 #A521BC #C53DDD #D571E6

Accessibility & contrast

On white

5.93
#A521BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A521BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A521BC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A521BC#FFFFFF#000000##FFFFFF
##A521BC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#3668B9
Tritanopia (blue-blind)
#A64571
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a521bc;
/* rgb */ color: rgb(165, 33, 188);
/* oklch */ color: oklch(53.4% 0.233 320.9);
Tailwind
colors: {
  custom: {
    50: '#c46fd1',
    500: '#a521bc',
    950: '#000000',
  },
}
SCSS
$custom: #a521bc;
$custom-light: #c46fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a521bc",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 291.097,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.23319,
    "h": 320.9
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#A521BC
secondary
#7ACD6C
accent
#ED3B55
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A521BC

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

Preview Lab → · Contrast checker → · Palette generator →

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