#A22BBE#A22BBE

#A22BBE is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.225 H 319.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A22BBE
RGBrgb(162, 43, 190)
HSLhsl(289, 63%, 46%)
HSVhsv(289, 77%, 75%)
CMYKcmyk(14.7%, 77.4%, 0%, 25.5%)
CIE-LABlab(42.96, 66.48, -52.57)
CIE-LCHlch(42.96, 84.76, 321.67°)
OKLaboklab(53.78% 0.1699 -0.1477)
OKLCHoklch(53.78% 0.225 319)
XYZxyz(25.0572, 13.1281, 49.9193)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BBE #47BE2B
analogous
#582BBE #A22BBE #BE2B91
triadic
#A22BBE #BEA22B #2BBEA2
tetradic
#A22BBE #BE582B #47BE2B #2B91BE
square
#A22BBE #BE582B #47BE2B #2B91BE
split-complementary
#A22BBE #91BE2B #2BBE58
monochromatic
#4D145A #77208C #A22BBE #BD4FD7 #D081E2

Accessibility & contrast

On white

5.79
#A22BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A22BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BBE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BBE#FFFFFF#000000##FFFFFF
##A22BBE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#A24B74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22bbe;
/* rgb */ color: rgb(162, 43, 190);
/* oklch */ color: oklch(53.8% 0.225 319.0);
Tailwind
colors: {
  custom: {
    50: '#c272d2',
    500: '#a22bbe',
    950: '#000000',
  },
}
SCSS
$custom: #a22bbe;
$custom-light: #c272d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bbe",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 288.571,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53782,
    "c": 0.22511,
    "h": 319
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#A22BBE
secondary
#89CB7A
accent
#E64261
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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