#A22EAC#A22EAC

#A22EAC is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.207 H 324.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A22EAC
RGBrgb(162, 46, 172)
HSLhsl(295, 58%, 43%)
HSVhsv(295, 73%, 67%)
CMYKcmyk(5.8%, 73.3%, 0%, 32.5%)
CIE-LABlab(42.18, 62.26, -43.20)
CIE-LCHlch(42.18, 75.78, 325.24°)
OKLaboklab(52.87% 0.1687 -0.1204)
OKLCHoklch(52.87% 0.207 324.5)
XYZxyz(23.3231, 12.6154, 40.2283)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EAC #38AC2E
analogous
#632EAC #A22EAC #AC2E77
triadic
#A22EAC #ACA22E #2EACA2
tetradic
#A22EAC #AC632E #38AC2E #2E77AC
square
#A22EAC #AC632E #38AC2E #2E77AC
split-complementary
#A22EAC #77AC2E #2EAC63
monochromatic
#47144B #75217C #A22EAC #C449CE #D379DB

Accessibility & contrast

On white

5.96
#A22EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22EAC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EAC#FFFFFF#000000##FFFFFF
##A22EAC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4768A9
Tritanopia (blue-blind)
#A5446B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22eac;
/* rgb */ color: rgb(162, 46, 172);
/* oklch */ color: oklch(52.9% 0.207 324.5);
Tailwind
colors: {
  custom: {
    50: '#c173c5',
    500: '#a22eac',
    950: '#000000',
  },
}
SCSS
$custom: #a22eac;
$custom-light: #c173c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eac",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 295.238,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.20726,
    "h": 324.5
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#A22EAC
secondary
#79C372
accent
#E14753
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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