#A22D91#A22D91

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

Color values

HEX#A22D91
RGBrgb(162, 45, 145)
HSLhsl(309, 57%, 41%)
HSVhsv(309, 72%, 64%)
CMYKcmyk(0%, 72.2%, 10.5%, 36.5%)
CIE-LABlab(40.58, 58.15, -29.51)
CIE-LCHlch(40.58, 65.21, 333.09°)
OKLaboklab(51.25% 0.1691 -0.0807)
OKLCHoklch(51.25% 0.187 334.5)
XYZxyz(20.9497, 11.6043, 27.9191)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D91 #2DA23E
analogous
#782DA2 #A22D91 #A22D56
triadic
#A22D91 #91A22D #2D91A2
tetradic
#A22D91 #A2782D #2DA23E #2D56A2
square
#A22D91 #A2782D #2DA23E #2D56A2
split-complementary
#A22D91 #56A22D #2DA278
monochromatic
#42123B #722066 #A22D91 #CA42B7 #D872C9

Accessibility & contrast

On white

6.32
#A22D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A22D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D91
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D91#FFFFFF#000000##FFFFFF
##A22D911.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5594
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#AA375C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d91;
/* rgb */ color: rgb(162, 45, 145);
/* oklch */ color: oklch(51.2% 0.187 334.5);
Tailwind
colors: {
  custom: {
    50: '#c171b1',
    500: '#a22d91',
    950: '#000000',
  },
}
SCSS
$custom: #a22d91;
$custom-light: #c171b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d91",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 308.718,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.18735,
    "h": 334.5
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#A22D91
secondary
#6CBF78
accent
#E05E48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22D91

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

Preview Lab → · Contrast checker → · Palette generator →

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