#A12AA9#A12AA9

#A12AA9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 325.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A12AA9
RGBrgb(161, 42, 169)
HSLhsl(296, 60%, 41%)
HSVhsv(296, 75%, 66%)
CMYKcmyk(4.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(41.37, 62.86, -42.71)
CIE-LCHlch(41.37, 76.00, 325.80°)
OKLaboklab(52.21% 0.1714 -0.1189)
OKLCHoklch(52.21% 0.209 325.2)
XYZxyz(22.6868, 12.0991, 38.6688)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AA9 #32A92A
analogous
#622AA9 #A12AA9 #A92A72
triadic
#A12AA9 #A9A12A #2AA9A1
tetradic
#A12AA9 #A9622A #32A92A #2A72A9
square
#A12AA9 #A9622A #32A92A #2A72A9
split-complementary
#A12AA9 #72A92A #2AA962
monochromatic
#441247 #721E78 #A12AA9 #C741D0 #D572DC

Accessibility & contrast

On white

6.14
#A12AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A12AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AA9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AA9#FFFFFF#000000##FFFFFF
##A12AA91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4666A6
Tritanopia (blue-blind)
#A54168
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12aa9;
/* rgb */ color: rgb(161, 42, 169);
/* oklch */ color: oklch(52.2% 0.209 325.2);
Tailwind
colors: {
  custom: {
    50: '#c171c3',
    500: '#a12aa9',
    950: '#000000',
  },
}
SCSS
$custom: #a12aa9;
$custom-light: #c171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aa9",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 296.22,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52209,
    "c": 0.20862,
    "h": 325.2
  },
  "luminance": 0.12098
}

Semantic roles & 50–950 ramp

primary
#A12AA9
secondary
#71C36C
accent
#E3444E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A12AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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