#A821BD#A821BD

#A821BD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.9% C 0.235 H 321.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A821BD
RGBrgb(168, 33, 189)
HSLhsl(292, 70%, 44%)
HSVhsv(292, 83%, 74%)
CMYKcmyk(11.1%, 82.5%, 0%, 25.9%)
CIE-LABlab(42.90, 70.20, -52.03)
CIE-LCHlch(42.90, 87.38, 323.46°)
OKLaboklab(53.91% 0.1843 -0.1459)
OKLCHoklch(53.91% 0.235 321.6)
XYZxyz(25.8766, 13.0882, 49.2975)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A821BD #36BD21
analogous
#5A21BD #A821BD #BD2184
triadic
#A821BD #BDA821 #21BDA8
tetradic
#A821BD #BD5A21 #36BD21 #2184BD
square
#A821BD #BD5A21 #36BD21 #2184BD
split-complementary
#A821BD #84BD21 #21BD5A
monochromatic
#4B0F55 #7A1889 #A821BD #C83EDD #D772E6

Accessibility & contrast

On white

5.81
#A821BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A821BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A821BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A821BD#FFFFFF#000000##FFFFFF
##A821BD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#AA4472
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a821bd;
/* rgb */ color: rgb(168, 33, 189);
/* oklch */ color: oklch(53.9% 0.235 321.6);
Tailwind
colors: {
  custom: {
    50: '#c66fd2',
    500: '#a821bd',
    950: '#000000',
  },
}
SCSS
$custom: #a821bd;
$custom-light: #c66fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a821bd",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 291.923,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.23506,
    "h": 321.6
  },
  "luminance": 0.13087
}

Semantic roles & 50–950 ramp

primary
#A821BD
secondary
#7ACD6D
accent
#ED3B53
background
#FCF7FD
surface
#F9EDFA
border
#D2C8D3
text
#140914
muted
#827B83

Preview Lab

Preview with #A821BD

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

Preview Lab → · Contrast checker → · Palette generator →

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