#A121C9#A121C9

#A121C9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.7% C 0.242 H 315.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A121C9
RGBrgb(161, 33, 201)
HSLhsl(286, 72%, 46%)
HSVhsv(286, 84%, 79%)
CMYKcmyk(19.9%, 83.6%, 0%, 21.2%)
CIE-LABlab(42.59, 71.14, -59.59)
CIE-LCHlch(42.59, 92.80, 320.05°)
OKLaboklab(53.73% 0.174 -0.1683)
OKLCHoklch(53.73% 0.242 315.9)
XYZxyz(25.7827, 12.8829, 56.3755)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A121C9 #49C921
analogous
#4D21C9 #A121C9 #C9219D
triadic
#A121C9 #C9A121 #21C9A1
tetradic
#A121C9 #C94D21 #49C921 #219DC9
square
#A121C9 #C94D21 #49C921 #219DC9
split-complementary
#A121C9 #9DC921 #21C94D
monochromatic
#4D1060 #771894 #A121C9 #BC46E1 #CF7BE9

Accessibility & contrast

On white

5.87
#A121C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A121C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A121C9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A121C9#FFFFFF#000000##FFFFFF
##A121C91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#1B68C6
Tritanopia (blue-blind)
#9E4C79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a121c9;
/* rgb */ color: rgb(161, 33, 201);
/* oklch */ color: oklch(53.7% 0.242 315.9);
Tailwind
colors: {
  custom: {
    50: '#c26fda',
    500: '#a121c9',
    950: '#000000',
  },
}
SCSS
$custom: #a121c9;
$custom-light: #c26fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a121c9",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 201
  },
  "hsl": {
    "h": 285.714,
    "s": 71.795,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.24205,
    "h": 315.9
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#A121C9
secondary
#8BD175
accent
#EF3964
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #A121C9

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

Preview Lab → · Contrast checker → · Palette generator →

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