#A021A0#A021A0

#A021A0 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.210 H 328.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A021A0
RGBrgb(160, 33, 160)
HSLhsl(300, 66%, 38%)
HSVhsv(300, 79%, 63%)
CMYKcmyk(0%, 79.4%, 0%, 37.3%)
CIE-LABlab(39.75, 63.81, -39.92)
CIE-LCHlch(39.75, 75.27, 327.97°)
OKLaboklab(50.85% 0.1782 -0.1108)
OKLCHoklch(50.85% 0.21 328.1)
XYZxyz(21.3860, 11.1010, 34.2672)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A021A0 #21A021
analogous
#6021A0 #A021A0 #A02160
triadic
#A021A0 #A0A021 #21A0A0
tetradic
#A021A0 #A06021 #21A021 #2160A0
square
#A021A0 #A06021 #21A021 #2160A0
split-complementary
#A021A0 #60A021 #21A060
monochromatic
#3B0C3B #6D176D #A021A0 #D32BD3 #DE5EDE

Accessibility & contrast

On white

6.52
#A021A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A021A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A021A0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A021A0#FFFFFF#000000##FFFFFF
##A021A01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#A53761
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a021a0;
/* rgb */ color: rgb(160, 33, 160);
/* oklch */ color: oklch(50.9% 0.210 328.1);
Tailwind
colors: {
  custom: {
    50: '#c06dbc',
    500: '#a021a0',
    950: '#000000',
  },
}
SCSS
$custom: #a021a0;
$custom-light: #c06dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a021a0",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 300,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.20977,
    "h": 328.1
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#A021A0
secondary
#5BC25B
accent
#E93F3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A021A0

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

Preview Lab → · Contrast checker → · Palette generator →

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