#A122A8#A122A8

#A122A8 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.215 H 325.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A122A8
RGBrgb(161, 34, 168)
HSLhsl(297, 66%, 40%)
HSVhsv(297, 80%, 66%)
CMYKcmyk(4.2%, 79.8%, 0%, 34.1%)
CIE-LABlab(40.49, 65.06, -43.52)
CIE-LCHlch(40.49, 78.28, 326.22°)
OKLaboklab(51.56% 0.178 -0.1212)
OKLCHoklch(51.56% 0.215 325.7)
XYZxyz(22.3374, 11.5498, 38.0910)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122A8 #29A822
analogous
#5E22A8 #A122A8 #A8226C
triadic
#A122A8 #A8A122 #22A8A1
tetradic
#A122A8 #A85E22 #29A822 #226CA8
square
#A122A8 #A85E22 #29A822 #226CA8
split-complementary
#A122A8 #6CA822 #22A85E
monochromatic
#3F0D42 #701875 #A122A8 #CD32D5 #D965E0

Accessibility & contrast

On white

6.35
#A122A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A122A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122A8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122A8#FFFFFF#000000##FFFFFF
##A122A81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#A53C66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a122a8;
/* rgb */ color: rgb(161, 34, 168);
/* oklch */ color: oklch(51.6% 0.215 325.7);
Tailwind
colors: {
  custom: {
    50: '#c16ec2',
    500: '#a122a8',
    950: '#000000',
  },
}
SCSS
$custom: #a122a8;
$custom-light: #c16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a122a8",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 296.866,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.21539,
    "h": 325.7
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#A122A8
secondary
#66C561
accent
#E93F47
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A122A8

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

Preview Lab → · Contrast checker → · Palette generator →

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