#A122A9#A122A9

#A122A9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.216 H 325.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A122A9
RGBrgb(161, 34, 169)
HSLhsl(296, 67%, 40%)
HSVhsv(296, 80%, 66%)
CMYKcmyk(4.7%, 79.9%, 0%, 33.7%)
CIE-LABlab(40.55, 65.23, -44.02)
CIE-LCHlch(40.55, 78.69, 325.98°)
OKLaboklab(51.63% 0.178 -0.1227)
OKLCHoklch(51.63% 0.216 325.4)
XYZxyz(22.4309, 11.5872, 38.5835)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122A9 #2AA922
analogous
#5D22A9 #A122A9 #A9226E
triadic
#A122A9 #A9A122 #22A9A1
tetradic
#A122A9 #A95D22 #2AA922 #226EA9
square
#A122A9 #A95D22 #2AA922 #226EA9
split-complementary
#A122A9 #6EA922 #22A95D
monochromatic
#400D43 #701876 #A122A9 #CC32D6 #D965E0

Accessibility & contrast

On white

6.33
#A122A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A122A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122A9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122A9#FFFFFF#000000##FFFFFF
##A122A91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#4265A6
Tritanopia (blue-blind)
#A53C66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a122a9;
/* rgb */ color: rgb(161, 34, 169);
/* oklch */ color: oklch(51.6% 0.216 325.4);
Tailwind
colors: {
  custom: {
    50: '#c16ec3',
    500: '#a122a9',
    950: '#000000',
  },
}
SCSS
$custom: #a122a9;
$custom-light: #c16ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a122a9",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 296.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.21616,
    "h": 325.4
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#A122A9
secondary
#67C561
accent
#E93E49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A122A9

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

Preview Lab → · Contrast checker → · Palette generator →

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