#A122A2#A122A2

#A122A2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.211 H 327.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A122A2
RGBrgb(161, 34, 162)
HSLhsl(300, 65%, 38%)
HSVhsv(300, 79%, 64%)
CMYKcmyk(0.6%, 79%, 0%, 36.5%)
CIE-LABlab(40.13, 64.07, -40.50)
CIE-LCHlch(40.13, 75.80, 327.70°)
OKLaboklab(51.19% 0.1784 -0.1124)
OKLCHoklch(51.19% 0.211 327.8)
XYZxyz(21.7913, 11.3314, 35.2149)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122A2 #23A222
analogous
#6122A2 #A122A2 #A22263
triadic
#A122A2 #A2A122 #22A2A1
tetradic
#A122A2 #A26122 #23A222 #2263A2
square
#A122A2 #A26122 #23A222 #2263A2
split-complementary
#A122A2 #63A222 #22A261
monochromatic
#3C0D3D #6F176F #A122A2 #D22ED3 #DD61DE

Accessibility & contrast

On white

6.43
#A122A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A122A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122A2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122A2#FFFFFF#000000##FFFFFF
##A122A21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#47649F
Tritanopia (blue-blind)
#A63962
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a122a2;
/* rgb */ color: rgb(161, 34, 162);
/* oklch */ color: oklch(51.2% 0.211 327.8);
Tailwind
colors: {
  custom: {
    50: '#c16dbe',
    500: '#a122a2',
    950: '#000000',
  },
}
SCSS
$custom: #a122a2;
$custom-light: #c16dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a122a2",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 299.531,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.21085,
    "h": 327.8
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#A122A2
secondary
#5EC35D
accent
#E84041
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A122A2

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

Preview Lab → · Contrast checker → · Palette generator →

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