#A22EB7#A22EB7

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

Color values

HEX#A22EB7
RGBrgb(162, 46, 183)
HSLhsl(291, 60%, 45%)
HSVhsv(291, 75%, 72%)
CMYKcmyk(11.5%, 74.9%, 0%, 28.2%)
CIE-LABlab(42.85, 64.23, -48.64)
CIE-LCHlch(42.85, 80.56, 322.86°)
OKLaboklab(53.56% 0.168 -0.1362)
OKLCHoklch(53.56% 0.216 321)
XYZxyz(24.4235, 13.0556, 46.0241)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EB7 #43B72E
analogous
#5E2EB7 #A22EB7 #B72E87
triadic
#A22EB7 #B7A22E #2EB7A2
tetradic
#A22EB7 #B75E2E #43B72E #2E87B7
square
#A22EB7 #B75E2E #43B72E #2E87B7
split-complementary
#A22EB7 #87B72E #2EB75E
monochromatic
#4B1555 #772286 #A22EB7 #BF4FD3 #D180DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22EB7#FFFFFF#000000##FFFFFF
##A22EB71.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)
#005DBB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#A34971
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22eb7;
/* rgb */ color: rgb(162, 46, 183);
/* oklch */ color: oklch(53.6% 0.216 321.0);
Tailwind
colors: {
  custom: {
    50: '#c173cd',
    500: '#a22eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a22eb7;
$custom-light: #c173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eb7",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 290.803,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.21632,
    "h": 321
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#A22EB7
secondary
#85C879
accent
#E3455D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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