#A22DA9#A22DA9

#A22DA9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.206 H 325.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A22DA9
RGBrgb(162, 45, 169)
HSLhsl(297, 58%, 42%)
HSVhsv(297, 73%, 66%)
CMYKcmyk(4.1%, 73.4%, 0%, 33.7%)
CIE-LABlab(41.88, 62.08, -41.89)
CIE-LCHlch(41.88, 74.89, 325.99°)
OKLaboklab(52.6% 0.1698 -0.1165)
OKLCHoklch(52.6% 0.206 325.5)
XYZxyz(22.9996, 12.4242, 38.7151)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DA9 #34A92D
analogous
#642DA9 #A22DA9 #A92D72
triadic
#A22DA9 #A9A22D #2DA9A2
tetradic
#A22DA9 #A9642D #34A92D #2D72A9
square
#A22DA9 #A9642D #34A92D #2D72A9
split-complementary
#A22DA9 #72A92D #2DA964
monochromatic
#451348 #742079 #A22DA9 #C646CE #D576DA

Accessibility & contrast

On white

6.03
#A22DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22DA9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DA9#FFFFFF#000000##FFFFFF
##A22DA91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045AAC
Deuteranopia (green-blind)
#4868A6
Tritanopia (blue-blind)
#A64269
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22da9;
/* rgb */ color: rgb(162, 45, 169);
/* oklch */ color: oklch(52.6% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#c172c3',
    500: '#a22da9',
    950: '#000000',
  },
}
SCSS
$custom: #a22da9;
$custom-light: #c172c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22da9",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 296.613,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.20591,
    "h": 325.5
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#A22DA9
secondary
#74C26F
accent
#E1474F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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