#A22DA5#A22DA5

#A22DA5 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.203 H 326.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A22DA5
RGBrgb(162, 45, 165)
HSLhsl(299, 57%, 41%)
HSVhsv(299, 73%, 65%)
CMYKcmyk(1.8%, 72.7%, 0%, 35.3%)
CIE-LABlab(41.65, 61.40, -39.87)
CIE-LCHlch(41.65, 73.21, 327.00°)
OKLaboklab(52.36% 0.1699 -0.1106)
OKLCHoklch(52.36% 0.203 326.9)
XYZxyz(22.6298, 12.2763, 36.7677)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DA5 #30A52D
analogous
#662DA5 #A22DA5 #A52D6C
triadic
#A22DA5 #A5A22D #2DA5A2
tetradic
#A22DA5 #A5662D #30A52D #2D6CA5
square
#A22DA5 #A5662D #30A52D #2D6CA5
split-complementary
#A22DA5 #6CA52D #2DA566
monochromatic
#441345 #732075 #A22DA5 #C843CC #D673D9

Accessibility & contrast

On white

6.08
#A22DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A22DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DA5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DA5#FFFFFF#000000##FFFFFF
##A22DA51.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A8
Deuteranopia (green-blind)
#4B67A2
Tritanopia (blue-blind)
#A74066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22da5;
/* rgb */ color: rgb(162, 45, 165);
/* oklch */ color: oklch(52.4% 0.203 326.9);
Tailwind
colors: {
  custom: {
    50: '#c172c0',
    500: '#a22da5',
    950: '#000000',
  },
}
SCSS
$custom: #a22da5;
$custom-light: #c172c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22da5",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 298.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.20271,
    "h": 326.9
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#A22DA5
secondary
#6FC16D
accent
#E0474B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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