#A122A7#A122A7

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

Color values

HEX#A122A7
RGBrgb(161, 34, 167)
HSLhsl(297, 66%, 39%)
HSVhsv(297, 80%, 65%)
CMYKcmyk(3.6%, 79.6%, 0%, 34.5%)
CIE-LABlab(40.43, 64.89, -43.02)
CIE-LCHlch(40.43, 77.86, 326.46°)
OKLaboklab(51.5% 0.1781 -0.1198)
OKLCHoklch(51.5% 0.215 326.1)
XYZxyz(22.2446, 11.5127, 37.6023)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122A7 #28A722
analogous
#5F22A7 #A122A7 #A7226B
triadic
#A122A7 #A7A122 #22A7A1
tetradic
#A122A7 #A75F22 #28A722 #226BA7
square
#A122A7 #A75F22 #28A722 #226BA7
split-complementary
#A122A7 #6BA722 #22A75F
monochromatic
#3F0D41 #701874 #A122A7 #CE31D5 #DA64DF

Accessibility & contrast

On white

6.36
#A122A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A122A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122A7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122A7#FFFFFF#000000##FFFFFF
##A122A71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#4365A4
Tritanopia (blue-blind)
#A53B65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a122a7;
/* rgb */ color: rgb(161, 34, 167);
/* oklch */ color: oklch(51.5% 0.215 326.1);
Tailwind
colors: {
  custom: {
    50: '#c16ec2',
    500: '#a122a7',
    950: '#000000',
  },
}
SCSS
$custom: #a122a7;
$custom-light: #c16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a122a7",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 297.293,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.21463,
    "h": 326.1
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

primary
#A122A7
secondary
#65C560
accent
#E93F46
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A122A7

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

Preview Lab → · Contrast checker → · Palette generator →

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