#A122BD#A122BD

#A122BD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.9% C 0.232 H 319.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A122BD
RGBrgb(161, 34, 189)
HSLhsl(289, 70%, 44%)
HSVhsv(289, 82%, 74%)
CMYKcmyk(14.8%, 82%, 0%, 25.9%)
CIE-LABlab(41.84, 68.70, -53.79)
CIE-LCHlch(41.84, 87.25, 321.94°)
OKLaboklab(52.94% 0.1756 -0.1513)
OKLCHoklch(52.94% 0.232 319.2)
XYZxyz(24.4541, 12.3965, 49.2389)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A122BD #3EBD22
analogous
#5322BD #A122BD #BD228B
triadic
#A122BD #BDA122 #22BDA1
tetradic
#A122BD #BD5322 #3EBD22 #228BBD
square
#A122BD #BD5322 #3EBD22 #228BBD
split-complementary
#A122BD #8BBD22 #22BD53
monochromatic
#490F55 #751989 #A122BD #C040DD #D173E6

Accessibility & contrast

On white

6.04
#A122BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A122BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A122BD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A122BD#FFFFFF#000000##FFFFFF
##A122BD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#A14672
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a122bd;
/* rgb */ color: rgb(161, 34, 189);
/* oklch */ color: oklch(52.9% 0.232 319.2);
Tailwind
colors: {
  custom: {
    50: '#c16fd2',
    500: '#a122bd',
    950: '#000000',
  },
}
SCSS
$custom: #a122bd;
$custom-light: #c16fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a122bd",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 289.161,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.23175,
    "h": 319.2
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#A122BD
secondary
#7FCD6E
accent
#EC3B5B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A122BD

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

Preview Lab → · Contrast checker → · Palette generator →

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