#A22DB4#A22DB4

#A22DB4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.215 H 321.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A22DB4
RGBrgb(162, 45, 180)
HSLhsl(292, 60%, 44%)
HSVhsv(292, 75%, 71%)
CMYKcmyk(10%, 75%, 0%, 29.4%)
CIE-LABlab(42.54, 64.02, -47.36)
CIE-LCHlch(42.54, 79.63, 323.51°)
OKLaboklab(53.29% 0.1692 -0.1325)
OKLCHoklch(53.29% 0.215 321.9)
XYZxyz(24.0760, 12.8548, 44.3842)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DB4 #3FB42D
analogous
#5F2DB4 #A22DB4 #B42D83
triadic
#A22DB4 #B4A22D #2DB4A2
tetradic
#A22DB4 #B45F2D #3FB42D #2D83B4
square
#A22DB4 #B45F2D #3FB42D #2D83B4
split-complementary
#A22DB4 #83B42D #2DB45F
monochromatic
#4A1552 #762183 #A22DB4 #C04CD2 #D17DDE

Accessibility & contrast

On white

5.88
#A22DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A22DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DB4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DB4#FFFFFF#000000##FFFFFF
##A22DB41.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#A4476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22db4;
/* rgb */ color: rgb(162, 45, 180);
/* oklch */ color: oklch(53.3% 0.215 321.9);
Tailwind
colors: {
  custom: {
    50: '#c173cb',
    500: '#a22db4',
    950: '#000000',
  },
}
SCSS
$custom: #a22db4;
$custom-light: #c173cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22db4",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 292,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.21486,
    "h": 321.9
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#A22DB4
secondary
#81C776
accent
#E3455A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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