#A22C96#A22C96

#A22C96 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.192 H 332.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A22C96
RGBrgb(162, 44, 150)
HSLhsl(306, 57%, 40%)
HSVhsv(306, 73%, 64%)
CMYKcmyk(0%, 72.8%, 7.4%, 36.5%)
CIE-LABlab(40.71, 59.28, -32.33)
CIE-LCHlch(40.71, 67.52, 331.39°)
OKLaboklab(51.43% 0.1705 -0.0888)
OKLCHoklch(51.43% 0.192 332.5)
XYZxyz(21.3061, 11.6865, 29.9818)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C96 #2CA238
analogous
#732CA2 #A22C96 #A22C5B
triadic
#A22C96 #96A22C #2C96A2
tetradic
#A22C96 #A2732C #2CA238 #2C5BA2
square
#A22C96 #A2732C #2CA238 #2C5BA2
split-complementary
#A22C96 #5BA22C #2CA273
monochromatic
#42123D #721F69 #A22C96 #CB40BD #D870CE

Accessibility & contrast

On white

6.29
#A22C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A22C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C96
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C96#FFFFFF#000000##FFFFFF
##A22C961.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#A9385E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22c96;
/* rgb */ color: rgb(162, 44, 150);
/* oklch */ color: oklch(51.4% 0.192 332.5);
Tailwind
colors: {
  custom: {
    50: '#c171b5',
    500: '#a22c96',
    950: '#000000',
  },
}
SCSS
$custom: #a22c96;
$custom-light: #c171b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c96",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 306.102,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.19221,
    "h": 332.5
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#A22C96
secondary
#6ABF73
accent
#E15747
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22C96

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

Preview Lab → · Contrast checker → · Palette generator →

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