#A22AC3#A22AC3

#A22AC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.230 H 317.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A22AC3
RGBrgb(162, 42, 195)
HSLhsl(287, 65%, 46%)
HSVhsv(287, 78%, 76%)
CMYKcmyk(16.9%, 78.5%, 0%, 23.5%)
CIE-LABlab(43.18, 67.72, -55.13)
CIE-LCHlch(43.18, 87.32, 320.85°)
OKLaboklab(54.05% 0.17 -0.1552)
OKLCHoklch(54.05% 0.23 317.6)
XYZxyz(25.5772, 13.2786, 52.8349)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AC3 #4BC32A
analogous
#562AC3 #A22AC3 #C32A98
triadic
#A22AC3 #C3A22A #2AC3A2
tetradic
#A22AC3 #C3562A #4BC32A #2A98C3
square
#A22AC3 #C3562A #4BC32A #2A98C3
split-complementary
#A22AC3 #98C32A #2AC356
monochromatic
#4E145E #781F91 #A22AC3 #BC51D9 #CF83E4

Accessibility & contrast

On white

5.74
#A22AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A22AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22AC3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AC3#FFFFFF#000000##FFFFFF
##A22AC31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2F69C0
Tritanopia (blue-blind)
#A14D77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22ac3;
/* rgb */ color: rgb(162, 42, 195);
/* oklch */ color: oklch(54.0% 0.230 317.6);
Tailwind
colors: {
  custom: {
    50: '#c272d6',
    500: '#a22ac3',
    950: '#000000',
  },
}
SCSS
$custom: #a22ac3;
$custom-light: #c272d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ac3",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 287.059,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.23017,
    "h": 317.6
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#A22AC3
secondary
#8DCD7B
accent
#E84064
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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