#A22A97#A22A97

#A22A97 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.195 H 332.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A22A97
RGBrgb(162, 42, 151)
HSLhsl(306, 59%, 40%)
HSVhsv(306, 74%, 64%)
CMYKcmyk(0%, 74.1%, 6.8%, 36.5%)
CIE-LABlab(40.53, 60.11, -33.23)
CIE-LCHlch(40.53, 68.68, 331.07°)
OKLaboklab(51.31% 0.1725 -0.0914)
OKLCHoklch(51.31% 0.195 332.1)
XYZxyz(21.3142, 11.5734, 30.3835)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A97 #2AA235
analogous
#712AA2 #A22A97 #A22A5B
triadic
#A22A97 #97A22A #2A97A2
tetradic
#A22A97 #A2712A #2AA235 #2A5BA2
square
#A22A97 #A2712A #2AA235 #2A5BA2
split-complementary
#A22A97 #5BA22A #2AA271
monochromatic
#41113C #711D6A #A22A97 #CD3DBF #D96DCF

Accessibility & contrast

On white

6.34
#A22A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A22A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A97
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A97#FFFFFF#000000##FFFFFF
##A22A971.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#A9385E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22a97;
/* rgb */ color: rgb(162, 42, 151);
/* oklch */ color: oklch(51.3% 0.195 332.1);
Tailwind
colors: {
  custom: {
    50: '#c170b6',
    500: '#a22a97',
    950: '#000000',
  },
}
SCSS
$custom: #a22a97;
$custom-light: #c170b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a97",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 305.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.19519,
    "h": 332.1
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#A22A97
secondary
#68C070
accent
#E25446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A97

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

Preview Lab → · Contrast checker → · Palette generator →

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