#A22BBC#A22BBC

#A22BBC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 319.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A22BBC
RGBrgb(162, 43, 188)
HSLhsl(289, 63%, 45%)
HSVhsv(289, 77%, 74%)
CMYKcmyk(13.8%, 77.1%, 0%, 26.3%)
CIE-LABlab(42.83, 66.12, -51.61)
CIE-LCHlch(42.83, 83.87, 322.03°)
OKLaboklab(53.65% 0.1701 -0.1449)
OKLCHoklch(53.65% 0.223 319.6)
XYZxyz(24.8401, 13.0412, 48.7760)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BBC #45BC2B
analogous
#592BBC #A22BBC #BC2B8E
triadic
#A22BBC #BCA22B #2BBCA2
tetradic
#A22BBC #BC592B #45BC2B #2B8EBC
square
#A22BBC #BC592B #45BC2B #2B8EBC
split-complementary
#A22BBC #8EBC2B #2BBC59
monochromatic
#4C1458 #77208A #A22BBC #BE4ED6 #D080E2

Accessibility & contrast

On white

5.82
#A22BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A22BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BBC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BBC#FFFFFF#000000##FFFFFF
##A22BBC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#A24A73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22bbc;
/* rgb */ color: rgb(162, 43, 188);
/* oklch */ color: oklch(53.6% 0.223 319.6);
Tailwind
colors: {
  custom: {
    50: '#c272d1',
    500: '#a22bbc',
    950: '#000000',
  },
}
SCSS
$custom: #a22bbc;
$custom-light: #c272d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bbc",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 289.241,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.22346,
    "h": 319.6
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#A22BBC
secondary
#87CB78
accent
#E6425F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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