#A220BC#A220BC

#A220BC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.9% C 0.233 H 319.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A220BC
RGBrgb(162, 32, 188)
HSLhsl(290, 71%, 43%)
HSVhsv(290, 83%, 74%)
CMYKcmyk(13.8%, 83%, 0%, 26.3%)
CIE-LABlab(41.76, 69.20, -53.32)
CIE-LCHlch(41.76, 87.36, 322.39°)
OKLaboklab(52.9% 0.1782 -0.1499)
OKLCHoklch(52.9% 0.233 319.9)
XYZxyz(24.4928, 12.3466, 48.6602)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A220BC #3ABC20
analogous
#5420BC #A220BC #BC2088
triadic
#A220BC #BCA220 #20BCA2
tetradic
#A220BC #BC5420 #3ABC20 #2088BC
square
#A220BC #BC5420 #3ABC20 #2088BC
split-complementary
#A220BC #88BC20 #20BC54
monochromatic
#480E53 #751788 #A220BC #C33BDE #D370E7

Accessibility & contrast

On white

6.05
#A220BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A220BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A220BC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A220BC#FFFFFF#000000##FFFFFF
##A220BC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.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: #a220bc;
/* rgb */ color: rgb(162, 32, 188);
/* oklch */ color: oklch(52.9% 0.233 319.9);
Tailwind
colors: {
  custom: {
    50: '#c26ed1',
    500: '#a220bc',
    950: '#000000',
  },
}
SCSS
$custom: #a220bc;
$custom-light: #c26ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#a220bc",
  "rgb": {
    "r": 162,
    "g": 32,
    "b": 188
  },
  "hsl": {
    "h": 290,
    "s": 70.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.23286,
    "h": 319.9
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#A220BC
secondary
#7BCD6B
accent
#EE3A58
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #A220BC

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

Preview Lab → · Contrast checker → · Palette generator →

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