#A22CAF#A22CAF

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

Color values

HEX#A22CAF
RGBrgb(162, 44, 175)
HSLhsl(294, 60%, 43%)
HSVhsv(294, 75%, 69%)
CMYKcmyk(7.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(42.12, 63.46, -45.07)
CIE-LCHlch(42.12, 77.84, 324.62°)
OKLaboklab(52.89% 0.1704 -0.1258)
OKLCHoklch(52.89% 0.212 323.6)
XYZxyz(23.5381, 12.5793, 41.7374)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CAF #39AF2C
analogous
#612CAF #A22CAF #AF2C7A
triadic
#A22CAF #AFA22C #2CAFA2
tetradic
#A22CAF #AF612C #39AF2C #2C7AAF
square
#A22CAF #AF612C #39AF2C #2C7AAF
split-complementary
#A22CAF #7AAF2C #2CAF61
monochromatic
#47134D #75207E #A22CAF #C347D1 #D378DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22CAF#FFFFFF#000000##FFFFFF
##A22CAF1.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)
#005BB3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#A5446C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22caf;
/* rgb */ color: rgb(162, 44, 175);
/* oklch */ color: oklch(52.9% 0.212 323.6);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a22caf',
    950: '#000000',
  },
}
SCSS
$custom: #a22caf;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22caf",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 294.046,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.21182,
    "h": 323.6
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#A22CAF
secondary
#7AC572
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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