#A22EB5#A22EB5

#A22EB5 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.215 H 321.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A22EB5
RGBrgb(162, 46, 181)
HSLhsl(292, 59%, 45%)
HSVhsv(292, 75%, 71%)
CMYKcmyk(10.5%, 74.6%, 0%, 29%)
CIE-LABlab(42.72, 63.87, -47.66)
CIE-LCHlch(42.72, 79.69, 323.27°)
OKLaboklab(53.43% 0.1682 -0.1334)
OKLCHoklch(53.43% 0.215 321.6)
XYZxyz(24.2169, 12.9729, 44.9356)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EB5 #41B52E
analogous
#5F2EB5 #A22EB5 #B52E84
triadic
#A22EB5 #B5A22E #2EB5A2
tetradic
#A22EB5 #B55F2E #41B52E #2E84B5
square
#A22EB5 #B55F2E #41B52E #2E84B5
split-complementary
#A22EB5 #84B52E #2EB55F
monochromatic
#4B1553 #762284 #A22EB5 #BF4ED2 #D17FDE

Accessibility & contrast

On white

5.84
#A22EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A22EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EB5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EB5#FFFFFF#000000##FFFFFF
##A22EB51.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22eb5;
/* rgb */ color: rgb(162, 46, 181);
/* oklch */ color: oklch(53.4% 0.215 321.6);
Tailwind
colors: {
  custom: {
    50: '#c173cc',
    500: '#a22eb5',
    950: '#000000',
  },
}
SCSS
$custom: #a22eb5;
$custom-light: #c173cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22eb5",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 291.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.21465,
    "h": 321.6
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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