#A22DAD#A22DAD

#A22DAD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.209 H 324.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A22DAD
RGBrgb(162, 45, 173)
HSLhsl(295, 59%, 43%)
HSVhsv(295, 74%, 68%)
CMYKcmyk(6.4%, 74%, 0%, 32.2%)
CIE-LABlab(42.12, 62.78, -43.89)
CIE-LCHlch(42.12, 76.60, 325.04°)
OKLaboklab(52.85% 0.1696 -0.1224)
OKLCHoklch(52.85% 0.209 324.2)
XYZxyz(23.3809, 12.5767, 40.7231)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DAD #38AD2D
analogous
#622DAD #A22DAD #AD2D78
triadic
#A22DAD #ADA22D #2DADA2
tetradic
#A22DAD #AD622D #38AD2D #2D78AD
square
#A22DAD #AD622D #38AD2D #2D78AD
split-complementary
#A22DAD #78AD2D #2DAD62
monochromatic
#47144C #75207C #A22DAD #C448CF #D378DC

Accessibility & contrast

On white

5.97
#A22DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A22DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DAD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DAD#FFFFFF#000000##FFFFFF
##A22DAD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#A5446B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22dad;
/* rgb */ color: rgb(162, 45, 173);
/* oklch */ color: oklch(52.8% 0.209 324.2);
Tailwind
colors: {
  custom: {
    50: '#c172c6',
    500: '#a22dad',
    950: '#000000',
  },
}
SCSS
$custom: #a22dad;
$custom-light: #c172c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22dad",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 294.844,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.20915,
    "h": 324.2
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#A22DAD
secondary
#79C472
accent
#E24653
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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