#A821BC#A821BC

#A821BC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.8% C 0.234 H 321.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A821BC
RGBrgb(168, 33, 188)
HSLhsl(292, 70%, 43%)
HSVhsv(292, 82%, 74%)
CMYKcmyk(10.6%, 82.4%, 0%, 26.3%)
CIE-LABlab(42.83, 70.03, -51.55)
CIE-LCHlch(42.83, 86.95, 323.64°)
OKLaboklab(53.84% 0.1844 -0.1445)
OKLCHoklch(53.84% 0.234 321.9)
XYZxyz(25.7684, 13.0449, 48.7278)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A821BC #35BC21
analogous
#5A21BC #A821BC #BC2182
triadic
#A821BC #BCA821 #21BCA8
tetradic
#A821BC #BC5A21 #35BC21 #2182BC
square
#A821BC #BC5A21 #35BC21 #2182BC
split-complementary
#A821BC #82BC21 #21BC5A
monochromatic
#4B0F54 #791888 #A821BC #C83DDD #D771E6

Accessibility & contrast

On white

5.82
#A821BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A821BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A821BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A821BC#FFFFFF#000000##FFFFFF
##A821BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#AA4471
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a821bc;
/* rgb */ color: rgb(168, 33, 188);
/* oklch */ color: oklch(53.8% 0.234 321.9);
Tailwind
colors: {
  custom: {
    50: '#c66fd1',
    500: '#a821bc',
    950: '#000000',
  },
}
SCSS
$custom: #a821bc;
$custom-light: #c66fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a821bc",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 292.258,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53841,
    "c": 0.2343,
    "h": 321.9
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#A821BC
secondary
#78CD6C
accent
#ED3B52
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #A821BC

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

Preview Lab → · Contrast checker → · Palette generator →

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