#A22E9B#A22E9B

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

Color values

HEX#A22E9B
RGBrgb(162, 46, 155)
HSLhsl(304, 56%, 41%)
HSVhsv(304, 72%, 64%)
CMYKcmyk(0%, 71.6%, 4.3%, 36.5%)
CIE-LABlab(41.22, 59.39, -34.55)
CIE-LCHlch(41.22, 68.71, 329.81°)
OKLaboklab(51.88% 0.1687 -0.0952)
OKLCHoklch(51.88% 0.194 330.6)
XYZxyz(21.7936, 12.0036, 32.1731)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E9B #2EA235
analogous
#6F2EA2 #A22E9B #A22E61
triadic
#A22E9B #9BA22E #2E9BA2
tetradic
#A22E9B #A26F2E #2EA235 #2E61A2
square
#A22E9B #A26F2E #2EA235 #2E61A2
split-complementary
#A22E9B #61A22E #2EA26F
monochromatic
#431340 #72206D #A22E9B #CA43C2 #D773D1

Accessibility & contrast

On white

6.18
#A22E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E9B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E9B#FFFFFF#000000##FFFFFF
##A22E9B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#A83C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22e9b;
/* rgb */ color: rgb(162, 46, 155);
/* oklch */ color: oklch(51.9% 0.194 330.6);
Tailwind
colors: {
  custom: {
    50: '#c172b9',
    500: '#a22e9b',
    950: '#000000',
  },
}
SCSS
$custom: #a22e9b;
$custom-light: #c172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e9b",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 303.621,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.19373,
    "h": 330.6
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#A22E9B
secondary
#6DBF72
accent
#DF5249
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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