#A22CBC#A22CBC

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

Color values

HEX#A22CBC
RGBrgb(162, 44, 188)
HSLhsl(289, 62%, 45%)
HSVhsv(289, 77%, 74%)
CMYKcmyk(13.8%, 76.6%, 0%, 26.3%)
CIE-LABlab(42.94, 65.80, -51.43)
CIE-LCHlch(42.94, 83.51, 321.99°)
OKLaboklab(53.73% 0.1693 -0.1444)
OKLCHoklch(53.73% 0.222 319.5)
XYZxyz(24.8769, 13.1148, 48.7883)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CBC #46BC2C
analogous
#5A2CBC #A22CBC #BC2C8E
triadic
#A22CBC #BCA22C #2CBCA2
tetradic
#A22CBC #BC5A2C #46BC2C #2C8EBC
square
#A22CBC #BC5A2C #46BC2C #2C8EBC
split-complementary
#A22CBC #8EBC2C #2CBC5A
monochromatic
#4D1559 #77208A #A22CBC #BE4FD6 #D081E1

Accessibility & contrast

On white

5.80
#A22CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22CBC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CBC#FFFFFF#000000##FFFFFF
##A22CBC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22cbc;
/* rgb */ color: rgb(162, 44, 188);
/* oklch */ color: oklch(53.7% 0.222 319.5);
Tailwind
colors: {
  custom: {
    50: '#c273d1',
    500: '#a22cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a22cbc;
$custom-light: #c273d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cbc",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 289.167,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.22249,
    "h": 319.5
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#A22CBC
secondary
#88CA79
accent
#E54360
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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