#A22D92#A22D92

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

Color values

HEX#A22D92
RGBrgb(162, 45, 146)
HSLhsl(308, 57%, 41%)
HSVhsv(308, 72%, 64%)
CMYKcmyk(0%, 72.2%, 9.9%, 36.5%)
CIE-LABlab(40.63, 58.30, -30.04)
CIE-LCHlch(40.63, 65.59, 332.74°)
OKLaboklab(51.3% 0.1692 -0.0822)
OKLCHoklch(51.3% 0.188 334.1)
XYZxyz(21.0272, 11.6353, 28.3269)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D92 #2DA23D
analogous
#772DA2 #A22D92 #A22D57
triadic
#A22D92 #92A22D #2D92A2
tetradic
#A22D92 #A2772D #2DA23D #2D57A2
square
#A22D92 #A2772D #2DA23D #2D57A2
split-complementary
#A22D92 #57A22D #2DA277
monochromatic
#42123C #722067 #A22D92 #CA42B8 #D872CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22D92#FFFFFF#000000##FFFFFF
##A22D921.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)
#2B5595
Deuteranopia (green-blind)
#55668F
Tritanopia (blue-blind)
#AA375C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d92;
/* rgb */ color: rgb(162, 45, 146);
/* oklch */ color: oklch(51.3% 0.188 334.1);
Tailwind
colors: {
  custom: {
    50: '#c171b2',
    500: '#a22d92',
    950: '#000000',
  },
}
SCSS
$custom: #a22d92;
$custom-light: #c171b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d92",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 308.205,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.513,
    "c": 0.18808,
    "h": 334.1
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#A22D92
secondary
#6CBF77
accent
#E05D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D92

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

Preview Lab → · Contrast checker → · Palette generator →

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