#A722A8#A722A8

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

Color values

HEX#A722A8
RGBrgb(167, 34, 168)
HSLhsl(300, 66%, 40%)
HSVhsv(300, 80%, 66%)
CMYKcmyk(0.6%, 79.8%, 0%, 34.1%)
CIE-LABlab(41.51, 66.25, -41.83)
CIE-LCHlch(41.51, 78.35, 327.73°)
OKLaboklab(52.48% 0.1845 -0.1161)
OKLCHoklch(52.48% 0.218 327.8)
XYZxyz(23.5760, 12.1885, 38.1491)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A722A8 #23A822
analogous
#6422A8 #A722A8 #A82266
triadic
#A722A8 #A8A722 #22A8A7
tetradic
#A722A8 #A86422 #23A822 #2266A8
square
#A722A8 #A86422 #23A822 #2266A8
split-complementary
#A722A8 #66A822 #22A864
monochromatic
#420D42 #741875 #A722A8 #D432D5 #DF65E0

Accessibility & contrast

On white

6.11
#A722A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A722A8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A722A8#FFFFFF#000000##FFFFFF
##A722A81.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#AC3A66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a722a8;
/* rgb */ color: rgb(167, 34, 168);
/* oklch */ color: oklch(52.5% 0.218 327.8);
Tailwind
colors: {
  custom: {
    50: '#c56fc2',
    500: '#a722a8',
    950: '#000000',
  },
}
SCSS
$custom: #a722a8;
$custom-light: #c56fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a722a8",
  "rgb": {
    "r": 167,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 299.552,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.21799,
    "h": 327.8
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A722A8

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

Preview Lab → · Contrast checker → · Palette generator →

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