#A22E99#A22E99

#A22E99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.192 H 331.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A22E99
RGBrgb(162, 46, 153)
HSLhsl(305, 56%, 41%)
HSVhsv(305, 72%, 64%)
CMYKcmyk(0%, 71.6%, 5.6%, 36.5%)
CIE-LABlab(41.12, 59.06, -33.51)
CIE-LCHlch(41.12, 67.91, 330.43°)
OKLaboklab(51.77% 0.1686 -0.0922)
OKLCHoklch(51.77% 0.192 331.3)
XYZxyz(21.6270, 11.9370, 31.2958)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E99 #2EA237
analogous
#712EA2 #A22E99 #A22E5F
triadic
#A22E99 #99A22E #2E99A2
tetradic
#A22E99 #A2712E #2EA237 #2E5FA2
square
#A22E99 #A2712E #2EA237 #2E5FA2
split-complementary
#A22E99 #5FA22E #2EA271
monochromatic
#43133F #72206C #A22E99 #CA43BF #D773D0

Accessibility & contrast

On white

6.20
#A22E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A22E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E99
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E99#FFFFFF#000000##FFFFFF
##A22E991.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#A93B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22e99;
/* rgb */ color: rgb(162, 46, 153);
/* oklch */ color: oklch(51.8% 0.192 331.3);
Tailwind
colors: {
  custom: {
    50: '#c172b7',
    500: '#a22e99',
    950: '#000000',
  },
}
SCSS
$custom: #a22e99;
$custom-light: #c172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e99",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 304.655,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.19219,
    "h": 331.3
  },
  "luminance": 0.11935
}

Semantic roles & 50–950 ramp

primary
#A22E99
secondary
#6DBF73
accent
#DF5449
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E99

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

Preview Lab → · Contrast checker → · Palette generator →

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