#A21CA9#A21CA9

#A21CA9 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.221 H 325.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A21CA9
RGBrgb(162, 28, 169)
HSLhsl(297, 72%, 39%)
HSVhsv(297, 83%, 66%)
CMYKcmyk(4.1%, 83.4%, 0%, 33.7%)
CIE-LABlab(40.21, 66.91, -44.56)
CIE-LCHlch(40.21, 80.39, 326.34°)
OKLaboklab(51.42% 0.1832 -0.1242)
OKLCHoklch(51.42% 0.221 325.9)
XYZxyz(22.4765, 11.3780, 38.5408)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A21CA9 #23A91C
analogous
#5B1CA9 #A21CA9 #A91C69
triadic
#A21CA9 #A9A21C #1CA9A2
tetradic
#A21CA9 #A95B1C #23A91C #1C69A9
square
#A21CA9 #A95B1C #23A91C #1C69A9
split-complementary
#A21CA9 #69A91C #1CA95B
monochromatic
#3D0B40 #701374 #A21CA9 #D227DB #DD5BE4

Accessibility & contrast

On white

6.41
#A21CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A21CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A21CA9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A21CA9#FFFFFF#000000##FFFFFF
##A21CA91.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#A63965
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a21ca9;
/* rgb */ color: rgb(162, 28, 169);
/* oklch */ color: oklch(51.4% 0.221 325.9);
Tailwind
colors: {
  custom: {
    50: '#c26cc3',
    500: '#a21ca9',
    950: '#000000',
  },
}
SCSS
$custom: #a21ca9;
$custom-light: #c26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a21ca9",
  "rgb": {
    "r": 162,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 297.021,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.22133,
    "h": 325.9
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#A21CA9
secondary
#5EC859
accent
#EE3942
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A21CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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