#A22FB4#A22FB4

#A22FB4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.213 H 321.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A22FB4
RGBrgb(162, 47, 180)
HSLhsl(292, 59%, 45%)
HSVhsv(292, 74%, 71%)
CMYKcmyk(10%, 73.9%, 0%, 29.4%)
CIE-LABlab(42.78, 63.34, -46.98)
CIE-LCHlch(42.78, 78.86, 323.44°)
OKLaboklab(53.46% 0.1674 -0.1314)
OKLCHoklch(53.46% 0.213 321.9)
XYZxyz(24.1541, 13.0111, 44.4103)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB4 #41B42F
analogous
#602FB4 #A22FB4 #B42F83
triadic
#A22FB4 #B4A22F #2FB4A2
tetradic
#A22FB4 #B4602F #41B42F #2F83B4
square
#A22FB4 #B4602F #41B42F #2F83B4
split-complementary
#A22FB4 #83B42F #2FB460
monochromatic
#4B1653 #762283 #A22FB4 #BF4FD1 #D180DE

Accessibility & contrast

On white

5.83
#A22FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A22FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FB4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB4#FFFFFF#000000##FFFFFF
##A22FB41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#A4486F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22fb4;
/* rgb */ color: rgb(162, 47, 180);
/* oklch */ color: oklch(53.5% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#c173cb',
    500: '#a22fb4',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb4;
$custom-light: #c173cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb4",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 291.88,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53455,
    "c": 0.21276,
    "h": 321.9
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#A22FB4
secondary
#83C778
accent
#E2465B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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