#A22C91#A22C91

#A22C91 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.189 H 334.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A22C91
RGBrgb(162, 44, 145)
HSLhsl(309, 57%, 40%)
HSVhsv(309, 73%, 64%)
CMYKcmyk(0%, 72.8%, 10.5%, 36.5%)
CIE-LABlab(40.46, 58.50, -29.70)
CIE-LCHlch(40.46, 65.61, 333.08°)
OKLaboklab(51.16% 0.1701 -0.0812)
OKLCHoklch(51.16% 0.189 334.5)
XYZxyz(20.9120, 11.5289, 27.9065)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C91 #2CA23D
analogous
#782CA2 #A22C91 #A22C56
triadic
#A22C91 #91A22C #2C91A2
tetradic
#A22C91 #A2782C #2CA23D #2C56A2
square
#A22C91 #A2782C #2CA23D #2C56A2
split-complementary
#A22C91 #56A22C #2CA278
monochromatic
#42123B #721F66 #A22C91 #CB40B7 #D870C9

Accessibility & contrast

On white

6.35
#A22C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22C91
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C91#FFFFFF#000000##FFFFFF
##A22C911.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#AA365B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22c91;
/* rgb */ color: rgb(162, 44, 145);
/* oklch */ color: oklch(51.2% 0.189 334.5);
Tailwind
colors: {
  custom: {
    50: '#c171b1',
    500: '#a22c91',
    950: '#000000',
  },
}
SCSS
$custom: #a22c91;
$custom-light: #c171b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c91",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 308.644,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.18851,
    "h": 334.5
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#A22C91
secondary
#6ABF77
accent
#E15D47
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22C91

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

Preview Lab → · Contrast checker → · Palette generator →

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