#A22DAA#A22DAA

#A22DAA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.207 H 325.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A22DAA
RGBrgb(162, 45, 170)
HSLhsl(296, 58%, 42%)
HSVhsv(296, 74%, 67%)
CMYKcmyk(4.7%, 73.5%, 0%, 33.3%)
CIE-LABlab(41.94, 62.26, -42.39)
CIE-LCHlch(41.94, 75.32, 325.75°)
OKLaboklab(52.66% 0.1697 -0.118)
OKLCHoklch(52.66% 0.207 325.2)
XYZxyz(23.0938, 12.4619, 39.2114)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DAA #35AA2D
analogous
#642DAA #A22DAA #AA2D74
triadic
#A22DAA #AAA22D #2DAAA2
tetradic
#A22DAA #AA642D #35AA2D #2D74AA
square
#A22DAA #AA642D #35AA2D #2D74AA
split-complementary
#A22DAA #74AA2D #2DAA64
monochromatic
#461349 #74207A #A22DAA #C546CE #D477DB

Accessibility & contrast

On white

6.01
#A22DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A22DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DAA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DAA#FFFFFF#000000##FFFFFF
##A22DAA1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAD
Deuteranopia (green-blind)
#4768A7
Tritanopia (blue-blind)
#A64369
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22daa;
/* rgb */ color: rgb(162, 45, 170);
/* oklch */ color: oklch(52.7% 0.207 325.2);
Tailwind
colors: {
  custom: {
    50: '#c172c4',
    500: '#a22daa',
    950: '#000000',
  },
}
SCSS
$custom: #a22daa;
$custom-light: #c172c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22daa",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 170
  },
  "hsl": {
    "h": 296.16,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.20672,
    "h": 325.2
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#A22DAA
secondary
#75C370
accent
#E14650
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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