#A22B97#A22B97

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

Color values

HEX#A22B97
RGBrgb(162, 43, 151)
HSLhsl(306, 58%, 40%)
HSVhsv(306, 73%, 64%)
CMYKcmyk(0%, 73.5%, 6.8%, 36.5%)
CIE-LABlab(40.65, 59.78, -33.04)
CIE-LCHlch(40.65, 68.30, 331.07°)
OKLaboklab(51.4% 0.1715 -0.0908)
OKLCHoklch(51.4% 0.194 332.1)
XYZxyz(21.3501, 11.6452, 30.3954)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B97 #2BA236
analogous
#712BA2 #A22B97 #A22B5C
triadic
#A22B97 #97A22B #2B97A2
tetradic
#A22B97 #A2712B #2BA236 #2B5CA2
square
#A22B97 #A2712B #2BA236 #2B5CA2
split-complementary
#A22B97 #5CA22B #2BA271
monochromatic
#41113D #721E6A #A22B97 #CC3EBF #D96FCF

Accessibility & contrast

On white

6.31
#A22B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A22B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B97
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B97#FFFFFF#000000##FFFFFF
##A22B971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22b97;
/* rgb */ color: rgb(162, 43, 151);
/* oklch */ color: oklch(51.4% 0.194 332.1);
Tailwind
colors: {
  custom: {
    50: '#c171b6',
    500: '#a22b97',
    950: '#000000',
  },
}
SCSS
$custom: #a22b97;
$custom-light: #c171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b97",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 305.546,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.19409,
    "h": 332.1
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#A22B97
secondary
#69C071
accent
#E15547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22B97

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

Preview Lab → · Contrast checker → · Palette generator →

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