#A822A7#A822A7

#A822A7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.218 H 328.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A822A7
RGBrgb(168, 34, 167)
HSLhsl(300, 66%, 40%)
HSVhsv(300, 80%, 66%)
CMYKcmyk(0%, 79.8%, 0.6%, 34.1%)
CIE-LABlab(41.63, 66.29, -41.05)
CIE-LCHlch(41.63, 77.97, 328.24°)
OKLaboklab(52.58% 0.1856 -0.1138)
OKLCHoklch(52.58% 0.218 328.5)
XYZxyz(23.6953, 12.2607, 37.6703)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A7 #22A823
analogous
#6622A8 #A822A7 #A82264
triadic
#A822A7 #A7A822 #22A7A8
tetradic
#A822A7 #A86622 #22A823 #2264A8
square
#A822A7 #A86622 #22A823 #2264A8
split-complementary
#A822A7 #64A822 #22A866
monochromatic
#420D42 #751874 #A822A7 #D532D4 #E065DF

Accessibility & contrast

On white

6.08
#A822A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A822A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A7#FFFFFF#000000##FFFFFF
##A822A71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a822a7;
/* rgb */ color: rgb(168, 34, 167);
/* oklch */ color: oklch(52.6% 0.218 328.5);
Tailwind
colors: {
  custom: {
    50: '#c66fc2',
    500: '#a822a7',
    950: '#000000',
  },
}
SCSS
$custom: #a822a7;
$custom-light: #c66fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a7",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 300.448,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.2177,
    "h": 328.5
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#A822A7
secondary
#61C561
accent
#E9403F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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