#A021C3#A021C3

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

Color values

HEX#A021C3
RGBrgb(160, 33, 195)
HSLhsl(287, 71%, 45%)
HSVhsv(287, 83%, 76%)
CMYKcmyk(17.9%, 83.1%, 0%, 23.5%)
CIE-LABlab(42.00, 69.87, -57.04)
CIE-LCHlch(42.00, 90.20, 320.77°)
OKLaboklab(53.16% 0.174 -0.1609)
OKLCHoklch(53.16% 0.237 317.2)
XYZxyz(24.8899, 12.5026, 52.7213)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A021C3 #44C321
analogous
#4F21C3 #A021C3 #C32195
triadic
#A021C3 #C3A021 #21C3A0
tetradic
#A021C3 #C34F21 #44C321 #2195C3
square
#A021C3 #C34F21 #44C321 #2195C3
split-complementary
#A021C3 #95C321 #21C34F
monochromatic
#4A0F5A #75188F #A021C3 #BD42DF #CF77E8

Accessibility & contrast

On white

6.00
#A021C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A021C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A021C3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A021C3#FFFFFF#000000##FFFFFF
##A021C31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#2467C0
Tritanopia (blue-blind)
#9E4975
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a021c3;
/* rgb */ color: rgb(160, 33, 195);
/* oklch */ color: oklch(53.2% 0.237 317.2);
Tailwind
colors: {
  custom: {
    50: '#c16fd6',
    500: '#a021c3',
    950: '#000000',
  },
}
SCSS
$custom: #a021c3;
$custom-light: #c16fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a021c3",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 195
  },
  "hsl": {
    "h": 287.037,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.23694,
    "h": 317.2
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#A021C3
secondary
#85CF71
accent
#EE3A61
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A021C3

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

Preview Lab → · Contrast checker → · Palette generator →

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