#A021CA#A021CA

#A021CA is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.7% C 0.243 H 315.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A021CA
RGBrgb(160, 33, 202)
HSLhsl(285, 72%, 46%)
HSVhsv(285, 84%, 79%)
CMYKcmyk(20.8%, 83.7%, 0%, 20.8%)
CIE-LABlab(42.50, 71.16, -60.31)
CIE-LCHlch(42.50, 93.28, 319.72°)
OKLaboklab(53.66% 0.1725 -0.1705)
OKLCHoklch(53.66% 0.243 315.3)
XYZxyz(25.7000, 12.8266, 56.9877)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A021CA #4BCA21
analogous
#4B21CA #A021CA #CA219F
triadic
#A021CA #CAA021 #21CAA0
tetradic
#A021CA #CA4B21 #4BCA21 #219FCA
square
#A021CA #CA4B21 #4BCA21 #219FCA
split-complementary
#A021CA #9FCA21 #21CA4B
monochromatic
#4D1061 #761895 #A021CA #BB47E1 #CE7CEA

Accessibility & contrast

On white

5.89
#A021CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A021CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A021CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A021CA#FFFFFF#000000##FFFFFF
##A021CA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#1567C7
Tritanopia (blue-blind)
#9C4D79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a021ca;
/* rgb */ color: rgb(160, 33, 202);
/* oklch */ color: oklch(53.7% 0.243 315.3);
Tailwind
colors: {
  custom: {
    50: '#c16fdb',
    500: '#a021ca',
    950: '#000000',
  },
}
SCSS
$custom: #a021ca;
$custom-light: #c16fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a021ca",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 285.089,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.24254,
    "h": 315.3
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#A021CA
secondary
#8CD275
accent
#EF3966
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #A021CA

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

Preview Lab → · Contrast checker → · Palette generator →

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