#A221BC#A221BC

#A221BC is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 53.0% C 0.232 H 319.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A221BC
RGBrgb(162, 33, 188)
HSLhsl(290, 70%, 43%)
HSVhsv(290, 82%, 74%)
CMYKcmyk(13.8%, 82.4%, 0%, 26.3%)
CIE-LABlab(41.85, 68.96, -53.18)
CIE-LCHlch(41.85, 87.08, 322.36°)
OKLaboklab(52.96% 0.1776 -0.1495)
OKLCHoklch(52.96% 0.232 319.9)
XYZxyz(24.5201, 12.4012, 48.6693)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A221BC #3BBC21
analogous
#5421BC #A221BC #BC2189
triadic
#A221BC #BCA221 #21BCA2
tetradic
#A221BC #BC5421 #3BBC21 #2189BC
square
#A221BC #BC5421 #3BBC21 #2189BC
split-complementary
#A221BC #89BC21 #21BC54
monochromatic
#480F54 #751888 #A221BC #C23DDD #D371E6

Accessibility & contrast

On white

6.03
#A221BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A221BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A221BC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A221BC#FFFFFF#000000##FFFFFF
##A221BC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#A24571
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a221bc;
/* rgb */ color: rgb(162, 33, 188);
/* oklch */ color: oklch(53.0% 0.232 319.9);
Tailwind
colors: {
  custom: {
    50: '#c26fd1',
    500: '#a221bc',
    950: '#000000',
  },
}
SCSS
$custom: #a221bc;
$custom-light: #c26fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a221bc",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 289.935,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.2321,
    "h": 319.9
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#A221BC
secondary
#7CCD6C
accent
#ED3B59
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A221BC

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

Preview Lab → · Contrast checker → · Palette generator →

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