#A22CB7#A22CB7

#A22CB7 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.218 H 321.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A22CB7
RGBrgb(162, 44, 183)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 72%)
CMYKcmyk(11.5%, 76%, 0%, 28.2%)
CIE-LABlab(42.62, 64.89, -49.01)
CIE-LCHlch(42.62, 81.31, 322.94°)
OKLaboklab(53.4% 0.1698 -0.1373)
OKLCHoklch(53.4% 0.218 321)
XYZxyz(24.3472, 12.9030, 45.9986)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CB7 #41B72C
analogous
#5C2CB7 #A22CB7 #B72C87
triadic
#A22CB7 #B7A22C #2CB7A2
tetradic
#A22CB7 #B75C2C #41B72C #2C87B7
square
#A22CB7 #B75C2C #41B72C #2C87B7
split-complementary
#A22CB7 #87B72C #2CB75C
monochromatic
#4B1454 #762086 #A22CB7 #BF4CD4 #D17EE0

Accessibility & contrast

On white

5.87
#A22CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A22CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CB7
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CB7#FFFFFF#000000##FFFFFF
##A22CB71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#A34870
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22cb7;
/* rgb */ color: rgb(162, 44, 183);
/* oklch */ color: oklch(53.4% 0.218 321.0);
Tailwind
colors: {
  custom: {
    50: '#c272cd',
    500: '#a22cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a22cb7;
$custom-light: #c272cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cb7",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 290.935,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.21836,
    "h": 321
  },
  "luminance": 0.12902
}

Semantic roles & 50–950 ramp

primary
#A22CB7
secondary
#83C876
accent
#E4435C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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