#A22FB5#A22FB5

#A22FB5 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.214 H 321.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A22FB5
RGBrgb(162, 47, 181)
HSLhsl(291, 59%, 45%)
HSVhsv(291, 74%, 71%)
CMYKcmyk(10.5%, 74%, 0%, 29%)
CIE-LABlab(42.84, 63.52, -47.47)
CIE-LCHlch(42.84, 79.30, 323.23°)
OKLaboklab(53.52% 0.1673 -0.1328)
OKLCHoklch(53.52% 0.214 321.6)
XYZxyz(24.2564, 13.0520, 44.9487)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB5 #42B52F
analogous
#5F2FB5 #A22FB5 #B52F85
triadic
#A22FB5 #B5A22F #2FB5A2
tetradic
#A22FB5 #B55F2F #42B52F #2F85B5
square
#A22FB5 #B55F2F #42B52F #2F85B5
split-complementary
#A22FB5 #85B52F #2FB55F
monochromatic
#4B1654 #772284 #A22FB5 #BF50D1 #D180DE

Accessibility & contrast

On white

5.82
#A22FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A22FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FB5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB5#FFFFFF#000000##FFFFFF
##A22FB51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#A44970
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22fb5;
/* rgb */ color: rgb(162, 47, 181);
/* oklch */ color: oklch(53.5% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#c173cc',
    500: '#a22fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb5;
$custom-light: #c173cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb5",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 291.493,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.2136,
    "h": 321.6
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#A22FB5
secondary
#84C779
accent
#E2465C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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