#A822A6#A822A6

#A822A6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.217 H 328.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A822A6
RGBrgb(168, 34, 166)
HSLhsl(301, 66%, 40%)
HSVhsv(301, 80%, 66%)
CMYKcmyk(0%, 79.8%, 1.2%, 34.1%)
CIE-LABlab(41.57, 66.13, -40.54)
CIE-LCHlch(41.57, 77.57, 328.49°)
OKLaboklab(52.52% 0.1856 -0.1123)
OKLCHoklch(52.52% 0.217 328.8)
XYZxyz(23.6032, 12.2239, 37.1853)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A6 #22A824
analogous
#6722A8 #A822A6 #A82263
triadic
#A822A6 #A6A822 #22A6A8
tetradic
#A822A6 #A86722 #22A824 #2263A8
square
#A822A6 #A86722 #22A824 #2263A8
split-complementary
#A822A6 #63A822 #22A867
monochromatic
#420D41 #751874 #A822A6 #D532D3 #E065DE

Accessibility & contrast

On white

6.10
#A822A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A822A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A6#FFFFFF#000000##FFFFFF
##A822A61.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#AE3965
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a822a6;
/* rgb */ color: rgb(168, 34, 166);
/* oklch */ color: oklch(52.5% 0.217 328.8);
Tailwind
colors: {
  custom: {
    50: '#c66fc1',
    500: '#a822a6',
    950: '#000000',
  },
}
SCSS
$custom: #a822a6;
$custom-light: #c66fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a6",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 300.896,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.21696,
    "h": 328.8
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#A822A6
secondary
#61C562
accent
#E9413F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A6

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

Preview Lab → · Contrast checker → · Palette generator →

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