#A22D96#A22D96

#A22D96 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.191 H 332.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A22D96
RGBrgb(162, 45, 150)
HSLhsl(306, 57%, 41%)
HSVhsv(306, 72%, 64%)
CMYKcmyk(0%, 72.2%, 7.4%, 36.5%)
CIE-LABlab(40.84, 58.93, -32.14)
CIE-LCHlch(40.84, 67.13, 331.39°)
OKLaboklab(51.51% 0.1695 -0.0883)
OKLCHoklch(51.51% 0.191 332.5)
XYZxyz(21.3438, 11.7619, 29.9944)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D96 #2DA239
analogous
#732DA2 #A22D96 #A22D5B
triadic
#A22D96 #96A22D #2D96A2
tetradic
#A22D96 #A2732D #2DA239 #2D5BA2
square
#A22D96 #A2732D #2DA239 #2D5BA2
split-complementary
#A22D96 #5BA22D #2DA273
monochromatic
#42123D #72206A #A22D96 #CA42BC #D872CD

Accessibility & contrast

On white

6.26
#A22D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A22D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D96
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D96#FFFFFF#000000##FFFFFF
##A22D961.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#A9395E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d96;
/* rgb */ color: rgb(162, 45, 150);
/* oklch */ color: oklch(51.5% 0.191 332.5);
Tailwind
colors: {
  custom: {
    50: '#c171b5',
    500: '#a22d96',
    950: '#000000',
  },
}
SCSS
$custom: #a22d96;
$custom-light: #c171b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d96",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 306.154,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.19108,
    "h": 332.5
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#A22D96
secondary
#6CBF74
accent
#E05848
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D96

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

Preview Lab → · Contrast checker → · Palette generator →

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