#A22E9E#A22E9E

#A22E9E is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.196 H 329.4°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A22E9E
RGBrgb(162, 46, 158)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 72%, 64%)
CMYKcmyk(0%, 71.6%, 2.5%, 36.5%)
CIE-LABlab(41.38, 59.88, -36.10)
CIE-LCHlch(41.38, 69.92, 328.91°)
OKLaboklab(52.05% 0.1688 -0.0997)
OKLCHoklch(52.05% 0.196 329.4)
XYZxyz(22.0487, 12.1056, 33.5165)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E9E #2EA232
analogous
#6C2EA2 #A22E9E #A22E64
triadic
#A22E9E #9EA22E #2E9EA2
tetradic
#A22E9E #A26C2E #2EA232 #2E64A2
square
#A22E9E #A26C2E #2EA232 #2E64A2
split-complementary
#A22E9E #64A22E #2EA26C
monochromatic
#431341 #722070 #A22E9E #CA43C5 #D773D4

Accessibility & contrast

On white

6.14
#A22E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A22E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E9E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E9E#FFFFFF#000000##FFFFFF
##A22E9E1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22e9e;
/* rgb */ color: rgb(162, 46, 158);
/* oklch */ color: oklch(52.0% 0.196 329.4);
Tailwind
colors: {
  custom: {
    50: '#c172bb',
    500: '#a22e9e',
    950: '#000000',
  },
}
SCSS
$custom: #a22e9e;
$custom-light: #c172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e9e",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 302.069,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.19607,
    "h": 329.4
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#A22E9E
secondary
#6DBF70
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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