#A321BD#A321BD

#A321BD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.2% C 0.233 H 320.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A321BD
RGBrgb(163, 33, 189)
HSLhsl(290, 70%, 44%)
HSVhsv(290, 83%, 74%)
CMYKcmyk(13.8%, 82.5%, 0%, 25.9%)
CIE-LABlab(42.08, 69.31, -53.39)
CIE-LCHlch(42.08, 87.49, 322.39°)
OKLaboklab(53.17% 0.1786 -0.15)
OKLCHoklch(53.17% 0.233 320)
XYZxyz(24.8323, 12.5497, 49.2486)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A321BD #3BBD21
analogous
#5521BD #A321BD #BD2189
triadic
#A321BD #BDA321 #21BDA3
tetradic
#A321BD #BD5521 #3BBD21 #2189BD
square
#A321BD #BD5521 #3BBD21 #2189BD
split-complementary
#A321BD #89BD21 #21BD55
monochromatic
#490F55 #761889 #A321BD #C33EDD #D372E6

Accessibility & contrast

On white

5.98
#A321BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A321BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A321BD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A321BD#FFFFFF#000000##FFFFFF
##A321BD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#3267BA
Tritanopia (blue-blind)
#A34672
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a321bd;
/* rgb */ color: rgb(163, 33, 189);
/* oklch */ color: oklch(53.2% 0.233 320.0);
Tailwind
colors: {
  custom: {
    50: '#c36fd2',
    500: '#a321bd',
    950: '#000000',
  },
}
SCSS
$custom: #a321bd;
$custom-light: #c36fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a321bd",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 290,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.23324,
    "h": 320
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#A321BD
secondary
#7DCD6D
accent
#ED3B58
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A321BD

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

Preview Lab → · Contrast checker → · Palette generator →

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