#A22AC7#A22AC7

#A22AC7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.233 H 316.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A22AC7
RGBrgb(162, 42, 199)
HSLhsl(286, 65%, 47%)
HSVhsv(286, 79%, 78%)
CMYKcmyk(18.6%, 78.9%, 0%, 22%)
CIE-LABlab(43.45, 68.47, -57.02)
CIE-LCHlch(43.45, 89.10, 320.21°)
OKLaboklab(54.32% 0.1693 -0.1608)
OKLCHoklch(54.32% 0.233 316.5)
XYZxyz(26.0355, 13.4619, 55.2487)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AC7 #4FC72A
analogous
#542AC7 #A22AC7 #C72A9D
triadic
#A22AC7 #C7A22A #2AC7A2
tetradic
#A22AC7 #C7542A #4FC72A #2A9DC7
square
#A22AC7 #C7542A #4FC72A #2A9DC7
split-complementary
#A22AC7 #9DC72A #2AC754
monochromatic
#501562 #791F94 #A22AC7 #BB53DB #CF86E5

Accessibility & contrast

On white

5.69
#A22AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A22AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AC7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AC7#FFFFFF#000000##FFFFFF
##A22AC71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#296AC4
Tritanopia (blue-blind)
#A04F79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22ac7;
/* rgb */ color: rgb(162, 42, 199);
/* oklch */ color: oklch(54.3% 0.233 316.5);
Tailwind
colors: {
  custom: {
    50: '#c272d9',
    500: '#a22ac7',
    950: '#000000',
  },
}
SCSS
$custom: #a22ac7;
$custom-light: #c272d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ac7",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 285.86,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54322,
    "c": 0.23349,
    "h": 316.5
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#A22AC7
secondary
#91CF7E
accent
#E84067
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A22AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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