#A22E9F#A22E9F

#A22E9F is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.197 H 329.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A22E9F
RGBrgb(162, 46, 159)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 72%, 64%)
CMYKcmyk(0%, 71.6%, 1.9%, 36.5%)
CIE-LABlab(41.44, 60.04, -36.62)
CIE-LCHlch(41.44, 70.33, 328.62°)
OKLaboklab(52.1% 0.1688 -0.1012)
OKLCHoklch(52.1% 0.197 329.1)
XYZxyz(22.1351, 12.1402, 33.9716)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E9F #2EA231
analogous
#6B2EA2 #A22E9F #A22E65
triadic
#A22E9F #9FA22E #2E9FA2
tetradic
#A22E9F #A26B2E #2EA231 #2E65A2
square
#A22E9F #A26B2E #2EA231 #2E65A2
split-complementary
#A22E9F #65A22E #2EA26B
monochromatic
#431341 #722070 #A22E9F #CA43C6 #D773D5

Accessibility & contrast

On white

6.13
#A22E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E9F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E9F#FFFFFF#000000##FFFFFF
##A22E9F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#A83E63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22e9f;
/* rgb */ color: rgb(162, 46, 159);
/* oklch */ color: oklch(52.1% 0.197 329.1);
Tailwind
colors: {
  custom: {
    50: '#c172bc',
    500: '#a22e9f',
    950: '#000000',
  },
}
SCSS
$custom: #a22e9f;
$custom-light: #c172bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e9f",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 301.552,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.19685,
    "h": 329.1
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

primary
#A22E9F
secondary
#6DBF6F
accent
#DF4D49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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