#A12AA4#A12AA4

#A12AA4 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 327.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A12AA4
RGBrgb(161, 42, 164)
HSLhsl(299, 59%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.8%, 74.4%, 0%, 35.7%)
CIE-LABlab(41.08, 62.01, -40.19)
CIE-LCHlch(41.08, 73.89, 327.05°)
OKLaboklab(51.91% 0.1716 -0.1116)
OKLCHoklch(51.91% 0.205 327)
XYZxyz(22.2264, 11.9149, 36.2439)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AA4 #2DA42A
analogous
#642AA4 #A12AA4 #A42A6A
triadic
#A12AA4 #A4A12A #2AA4A1
tetradic
#A12AA4 #A4642A #2DA42A #2A6AA4
square
#A12AA4 #A4642A #2DA42A #2A6AA4
split-complementary
#A12AA4 #6AA42A #2AA464
monochromatic
#411143 #711E73 #A12AA4 #CA3ECD #D76EDA

Accessibility & contrast

On white

6.21
#A12AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A12AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AA4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AA4#FFFFFF#000000##FFFFFF
##A12AA41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#A63E65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12aa4;
/* rgb */ color: rgb(161, 42, 164);
/* oklch */ color: oklch(51.9% 0.205 327.0);
Tailwind
colors: {
  custom: {
    50: '#c171bf',
    500: '#a12aa4',
    950: '#000000',
  },
}
SCSS
$custom: #a12aa4;
$custom-light: #c171bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aa4",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 298.525,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.20466,
    "h": 327
  },
  "luminance": 0.11913
}

Semantic roles & 50–950 ramp

primary
#A12AA4
secondary
#6BC169
accent
#E24549
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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