#A222A6#A222A6

#A222A6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.214 H 326.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A222A6
RGBrgb(162, 34, 166)
HSLhsl(298, 66%, 39%)
HSVhsv(298, 80%, 65%)
CMYKcmyk(2.4%, 79.5%, 0%, 34.9%)
CIE-LABlab(40.54, 64.93, -42.24)
CIE-LCHlch(40.54, 77.46, 326.95°)
OKLaboklab(51.59% 0.1792 -0.1175)
OKLCHoklch(51.59% 0.214 326.8)
XYZxyz(22.3549, 11.5802, 37.1268)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A222A6 #26A622
analogous
#6022A6 #A222A6 #A62268
triadic
#A222A6 #A6A222 #22A6A2
tetradic
#A222A6 #A66022 #26A622 #2268A6
square
#A222A6 #A66022 #26A622 #2268A6
split-complementary
#A222A6 #68A622 #22A660
monochromatic
#3F0D40 #701873 #A222A6 #D030D5 #DB63DF

Accessibility & contrast

On white

6.33
#A222A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A222A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A222A6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A222A6#FFFFFF#000000##FFFFFF
##A222A61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#A73A64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a222a6;
/* rgb */ color: rgb(162, 34, 166);
/* oklch */ color: oklch(51.6% 0.214 326.8);
Tailwind
colors: {
  custom: {
    50: '#c26ec1',
    500: '#a222a6',
    950: '#000000',
  },
}
SCSS
$custom: #a222a6;
$custom-light: #c26ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a222a6",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 298.182,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.2143,
    "h": 326.8
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#A222A6
secondary
#63C45F
accent
#E93F44
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A222A6

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

Preview Lab → · Contrast checker → · Palette generator →

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