#A22BB4#A22BB4

#A22BB4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.217 H 322.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A22BB4
RGBrgb(162, 43, 180)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 76%, 71%)
CMYKcmyk(10%, 76.1%, 0%, 29.4%)
CIE-LABlab(42.32, 64.67, -47.72)
CIE-LCHlch(42.32, 80.37, 323.58°)
OKLaboklab(53.13% 0.1709 -0.1335)
OKLCHoklch(53.13% 0.217 322)
XYZxyz(24.0015, 12.7058, 44.3594)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BB4 #3DB42B
analogous
#5D2BB4 #A22BB4 #B42B81
triadic
#A22BB4 #B4A22B #2BB4A2
tetradic
#A22BB4 #B45D2B #3DB42B #2B81B4
square
#A22BB4 #B45D2B #3DB42B #2B81B4
split-complementary
#A22BB4 #81B42B #2BB45D
monochromatic
#491351 #761F83 #A22BB4 #C149D3 #D27ADF

Accessibility & contrast

On white

5.93
#A22BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A22BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BB4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BB4#FFFFFF#000000##FFFFFF
##A22BB41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#A4466E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22bb4;
/* rgb */ color: rgb(162, 43, 180);
/* oklch */ color: oklch(53.1% 0.217 322.0);
Tailwind
colors: {
  custom: {
    50: '#c272cb',
    500: '#a22bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a22bb4;
$custom-light: #c272cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bb4",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 292.117,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53126,
    "c": 0.2169,
    "h": 322
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#A22BB4
secondary
#7EC773
accent
#E54358
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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