#A22991#A22991

#A22991 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.192 H 334.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A22991
RGBrgb(162, 41, 145)
HSLhsl(308, 60%, 40%)
HSVhsv(308, 75%, 64%)
CMYKcmyk(0%, 74.7%, 10.5%, 36.5%)
CIE-LABlab(40.10, 59.50, -30.26)
CIE-LCHlch(40.10, 66.76, 333.05°)
OKLaboklab(50.9% 0.1731 -0.0828)
OKLCHoklch(50.9% 0.192 334.4)
XYZxyz(20.8043, 11.3134, 27.8706)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22991 #29A23A
analogous
#7729A2 #A22991 #A22954
triadic
#A22991 #91A229 #2991A2
tetradic
#A22991 #A27729 #29A23A #2954A2
square
#A22991 #A27729 #29A23A #2954A2
split-complementary
#A22991 #54A229 #29A277
monochromatic
#40103A #711D65 #A22991 #CD3BB9 #DA6CCA

Accessibility & contrast

On white

6.44
#A22991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A22991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22991
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22991#FFFFFF#000000##FFFFFF
##A229911.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#AA345A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22991;
/* rgb */ color: rgb(162, 41, 145);
/* oklch */ color: oklch(50.9% 0.192 334.4);
Tailwind
colors: {
  custom: {
    50: '#c170b1',
    500: '#a22991',
    950: '#000000',
  },
}
SCSS
$custom: #a22991;
$custom-light: #c170b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22991",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 308.43,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50904,
    "c": 0.19187,
    "h": 334.4
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#A22991
secondary
#67C073
accent
#E35B45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22991

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

Preview Lab → · Contrast checker → · Palette generator →

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