#A21DA1#A21DA1

#A21DA1 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.215 H 328.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A21DA1
RGBrgb(162, 29, 161)
HSLhsl(300, 70%, 37%)
HSVhsv(300, 82%, 64%)
CMYKcmyk(0%, 82.1%, 0.6%, 36.5%)
CIE-LABlab(39.81, 65.39, -40.41)
CIE-LCHlch(39.81, 76.87, 328.28°)
OKLaboklab(50.98% 0.1831 -0.1121)
OKLCHoklch(50.98% 0.215 328.5)
XYZxyz(21.7725, 11.1350, 34.7138)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A21DA1 #1DA21E
analogous
#601DA2 #A21DA1 #A21D5F
triadic
#A21DA1 #A1A21D #1DA1A2
tetradic
#A21DA1 #A2601D #1DA21E #1D5FA2
square
#A21DA1 #A2601D #1DA21E #1D5FA2
split-complementary
#A21DA1 #5FA21D #1DA260
monochromatic
#3A0A3A #6E146D #A21DA1 #D626D5 #E158E0

Accessibility & contrast

On white

6.51
#A21DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A21DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A21DA1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A21DA1#FFFFFF#000000##FFFFFF
##A21DA11.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#46649E
Tritanopia (blue-blind)
#A73561
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a21da1;
/* rgb */ color: rgb(162, 29, 161);
/* oklch */ color: oklch(51.0% 0.215 328.5);
Tailwind
colors: {
  custom: {
    50: '#c26cbd',
    500: '#a21da1',
    950: '#000000',
  },
}
SCSS
$custom: #a21da1;
$custom-light: #c26cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a21da1",
  "rgb": {
    "r": 162,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 300.451,
    "s": 69.634,
    "l": 37.451
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.21469,
    "h": 328.5
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#A21DA1
secondary
#56C557
accent
#EC3D3B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A21DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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