#A22AAF#A22AAF

#A22AAF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.214 H 323.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A22AAF
RGBrgb(162, 42, 175)
HSLhsl(294, 61%, 43%)
HSVhsv(294, 76%, 69%)
CMYKcmyk(7.4%, 76%, 0%, 31.4%)
CIE-LABlab(41.90, 64.11, -45.43)
CIE-LCHlch(41.90, 78.57, 324.67°)
OKLaboklab(52.73% 0.1722 -0.1268)
OKLCHoklch(52.73% 0.214 323.6)
XYZxyz(23.4654, 12.4339, 41.7132)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AAF #37AF2A
analogous
#5F2AAF #A22AAF #AF2A7A
triadic
#A22AAF #AFA22A #2AAFA2
tetradic
#A22AAF #AF5F2A #37AF2A #2A7AAF
square
#A22AAF #AF5F2A #37AF2A #2A7AAF
split-complementary
#A22AAF #7AAF2A #2AAF5F
monochromatic
#47124C #741E7E #A22AAF #C444D2 #D475DE

Accessibility & contrast

On white

6.02
#A22AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22AAF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AAF#FFFFFF#000000##FFFFFF
##A22AAF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#A5436B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22aaf;
/* rgb */ color: rgb(162, 42, 175);
/* oklch */ color: oklch(52.7% 0.214 323.6);
Tailwind
colors: {
  custom: {
    50: '#c171c7',
    500: '#a22aaf',
    950: '#000000',
  },
}
SCSS
$custom: #a22aaf;
$custom-light: #c171c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aaf",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 294.135,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52729,
    "c": 0.21385,
    "h": 323.6
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#A22AAF
secondary
#78C66F
accent
#E44353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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