#A22E9C#A22E9C

#A22E9C is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.195 H 330.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A22E9C
RGBrgb(162, 46, 156)
HSLhsl(303, 56%, 41%)
HSVhsv(303, 72%, 64%)
CMYKcmyk(0%, 71.6%, 3.7%, 36.5%)
CIE-LABlab(41.28, 59.55, -35.07)
CIE-LCHlch(41.28, 69.11, 329.50°)
OKLaboklab(51.93% 0.1688 -0.0967)
OKLCHoklch(51.93% 0.195 330.2)
XYZxyz(21.8779, 12.0373, 32.6172)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E9C #2EA234
analogous
#6E2EA2 #A22E9C #A22E62
triadic
#A22E9C #9CA22E #2E9CA2
tetradic
#A22E9C #A26E2E #2EA234 #2E62A2
square
#A22E9C #A26E2E #2EA234 #2E62A2
split-complementary
#A22E9C #62A22E #2EA26E
monochromatic
#431340 #72206E #A22E9C #CA43C3 #D773D2

Accessibility & contrast

On white

6.16
#A22E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A22E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E9C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E9C#FFFFFF#000000##FFFFFF
##A22E9C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#A83D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22e9c;
/* rgb */ color: rgb(162, 46, 156);
/* oklch */ color: oklch(51.9% 0.195 330.2);
Tailwind
colors: {
  custom: {
    50: '#c172b9',
    500: '#a22e9c',
    950: '#000000',
  },
}
SCSS
$custom: #a22e9c;
$custom-light: #c172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e9c",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 303.103,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.1945,
    "h": 330.2
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#A22E9C
secondary
#6DBF71
accent
#DF5049
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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