#A22BA5#A22BA5

#A22BA5 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.205 H 327.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A22BA5
RGBrgb(162, 43, 165)
HSLhsl(299, 59%, 41%)
HSVhsv(299, 74%, 65%)
CMYKcmyk(1.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(41.42, 62.07, -40.24)
CIE-LCHlch(41.42, 73.97, 327.04°)
OKLaboklab(52.2% 0.1717 -0.1117)
OKLCHoklch(52.2% 0.205 327)
XYZxyz(22.5553, 12.1273, 36.7428)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA5 #2EA52B
analogous
#652BA5 #A22BA5 #A52B6B
triadic
#A22BA5 #A5A22B #2BA5A2
tetradic
#A22BA5 #A5652B #2EA52B #2B6BA5
square
#A22BA5 #A5652B #2EA52B #2B6BA5
split-complementary
#A22BA5 #6BA52B #2BA565
monochromatic
#431244 #721E74 #A22BA5 #CA40CD #D771DA

Accessibility & contrast

On white

6.13
#A22BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA5#FFFFFF#000000##FFFFFF
##A22BA51.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B58A8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#A73F66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ba5;
/* rgb */ color: rgb(162, 43, 165);
/* oklch */ color: oklch(52.2% 0.205 327.0);
Tailwind
colors: {
  custom: {
    50: '#c171c0',
    500: '#a22ba5',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba5;
$custom-light: #c171c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba5",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 298.525,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.20487,
    "h": 327
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#A22BA5
secondary
#6DC16B
accent
#E2464A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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