#A22BBD#A22BBD

#A22BBD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.224 H 319.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A22BBD
RGBrgb(162, 43, 189)
HSLhsl(289, 63%, 45%)
HSVhsv(289, 77%, 74%)
CMYKcmyk(14.3%, 77.2%, 0%, 25.9%)
CIE-LABlab(42.89, 66.30, -52.09)
CIE-LCHlch(42.89, 84.32, 321.85°)
OKLaboklab(53.72% 0.17 -0.1463)
OKLCHoklch(53.72% 0.224 319.3)
XYZxyz(24.9483, 13.0845, 49.3457)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BBD #46BD2B
analogous
#592BBD #A22BBD #BD2B8F
triadic
#A22BBD #BDA22B #2BBDA2
tetradic
#A22BBD #BD592B #46BD2B #2B8FBD
square
#A22BBD #BD592B #46BD2B #2B8FBD
split-complementary
#A22BBD #8FBD2B #2BBD59
monochromatic
#4D1459 #77208B #A22BBD #BE4ED7 #D080E2

Accessibility & contrast

On white

5.81
#A22BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A22BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BBD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BBD#FFFFFF#000000##FFFFFF
##A22BBD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#A24A74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22bbd;
/* rgb */ color: rgb(162, 43, 189);
/* oklch */ color: oklch(53.7% 0.224 319.3);
Tailwind
colors: {
  custom: {
    50: '#c272d2',
    500: '#a22bbd',
    950: '#000000',
  },
}
SCSS
$custom: #a22bbd;
$custom-light: #c272d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bbd",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 288.904,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.22428,
    "h": 319.3
  },
  "luminance": 0.13083
}

Semantic roles & 50–950 ramp

primary
#A22BBD
secondary
#88CB79
accent
#E64260
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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