#A22BA4#A22BA4

#A22BA4 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.204 H 327.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A22BA4
RGBrgb(162, 43, 164)
HSLhsl(299, 58%, 41%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(41.36, 61.90, -39.74)
CIE-LCHlch(41.36, 73.56, 327.30°)
OKLaboklab(52.14% 0.1718 -0.1102)
OKLCHoklch(52.14% 0.204 327.3)
XYZxyz(22.4647, 12.0911, 36.2654)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA4 #2DA42B
analogous
#652BA4 #A22BA4 #A42B69
triadic
#A22BA4 #A4A22B #2BA4A2
tetradic
#A22BA4 #A4652B #2DA42B #2B69A4
square
#A22BA4 #A4652B #2DA42B #2B69A4
split-complementary
#A22BA4 #69A42B #2BA465
monochromatic
#421243 #721E74 #A22BA4 #CA3FCD #D870D9

Accessibility & contrast

On white

6.14
#A22BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A22BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA4#FFFFFF#000000##FFFFFF
##A22BA41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A7
Deuteranopia (green-blind)
#4A67A1
Tritanopia (blue-blind)
#A73F65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ba4;
/* rgb */ color: rgb(162, 43, 164);
/* oklch */ color: oklch(52.1% 0.204 327.3);
Tailwind
colors: {
  custom: {
    50: '#c171bf',
    500: '#a22ba4',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba4;
$custom-light: #c171bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba4",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 299.008,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.20409,
    "h": 327.3
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#A22BA4
secondary
#6CC16A
accent
#E24649
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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