#A22DA4#A22DA4

#A22DA4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 327.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A22DA4
RGBrgb(162, 45, 164)
HSLhsl(299, 57%, 41%)
HSVhsv(299, 73%, 64%)
CMYKcmyk(1.2%, 72.6%, 0%, 35.7%)
CIE-LABlab(41.60, 61.23, -39.36)
CIE-LCHlch(41.60, 72.79, 327.26°)
OKLaboklab(52.31% 0.1699 -0.1092)
OKLCHoklch(52.31% 0.202 327.3)
XYZxyz(22.5392, 12.2401, 36.2902)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DA4 #2FA42D
analogous
#662DA4 #A22DA4 #A42D6A
triadic
#A22DA4 #A4A22D #2DA4A2
tetradic
#A22DA4 #A4662D #2FA42D #2D6AA4
square
#A22DA4 #A4662D #2FA42D #2D6AA4
split-complementary
#A22DA4 #6AA42D #2DA466
monochromatic
#431344 #732074 #A22DA4 #C943CB #D773D9

Accessibility & contrast

On white

6.09
#A22DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A22DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DA4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DA4#FFFFFF#000000##FFFFFF
##A22DA41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#A74066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22da4;
/* rgb */ color: rgb(162, 45, 164);
/* oklch */ color: oklch(52.3% 0.202 327.3);
Tailwind
colors: {
  custom: {
    50: '#c172bf',
    500: '#a22da4',
    950: '#000000',
  },
}
SCSS
$custom: #a22da4;
$custom-light: #c172bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22da4",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 298.992,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.20192,
    "h": 327.3
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#A22DA4
secondary
#6EC06D
accent
#E0484A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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