#A22E91#A22E91

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

Color values

HEX#A22E91
RGBrgb(162, 46, 145)
HSLhsl(309, 56%, 41%)
HSVhsv(309, 72%, 64%)
CMYKcmyk(0%, 71.6%, 10.5%, 36.5%)
CIE-LABlab(40.71, 57.80, -29.31)
CIE-LCHlch(40.71, 64.80, 333.11°)
OKLaboklab(51.34% 0.168 -0.0801)
OKLCHoklch(51.34% 0.186 334.5)
XYZxyz(20.9883, 11.6815, 27.9319)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E91 #2EA23F
analogous
#792EA2 #A22E91 #A22E57
triadic
#A22E91 #91A22E #2E91A2
tetradic
#A22E91 #A2792E #2EA23F #2E57A2
square
#A22E91 #A2792E #2EA23F #2E57A2
split-complementary
#A22E91 #57A22E #2EA279
monochromatic
#43133C #722066 #A22E91 #CA43B6 #D773C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22E91#FFFFFF#000000##FFFFFF
##A22E911.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)
#2D5594
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#AA385C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22e91;
/* rgb */ color: rgb(162, 46, 145);
/* oklch */ color: oklch(51.3% 0.186 334.5);
Tailwind
colors: {
  custom: {
    50: '#c172b1',
    500: '#a22e91',
    950: '#000000',
  },
}
SCSS
$custom: #a22e91;
$custom-light: #c172b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e91",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 308.793,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.18617,
    "h": 334.5
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#A22E91
secondary
#6DBF79
accent
#DF5F49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22E91

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

Preview Lab → · Contrast checker → · Palette generator →

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