#A22CBD#A22CBD

#A22CBD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.223 H 319.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A22CBD
RGBrgb(162, 44, 189)
HSLhsl(289, 62%, 46%)
HSVhsv(289, 77%, 74%)
CMYKcmyk(14.3%, 76.7%, 0%, 25.9%)
CIE-LABlab(43.00, 65.98, -51.91)
CIE-LCHlch(43.00, 83.96, 321.81°)
OKLaboklab(53.79% 0.1691 -0.1458)
OKLCHoklch(53.79% 0.223 319.2)
XYZxyz(24.9851, 13.1581, 49.3580)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CBD #47BD2C
analogous
#5A2CBD #A22CBD #BD2C8F
triadic
#A22CBD #BDA22C #2CBDA2
tetradic
#A22CBD #BD5A2C #47BD2C #2C8FBD
square
#A22CBD #BD5A2C #47BD2C #2C8FBD
split-complementary
#A22CBD #8FBD2C #2CBD5A
monochromatic
#4D155A #77208B #A22CBD #BD50D6 #D082E2

Accessibility & contrast

On white

5.78
#A22CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22CBD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CBD#FFFFFF#000000##FFFFFF
##A22CBD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#A24B74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22cbd;
/* rgb */ color: rgb(162, 44, 189);
/* oklch */ color: oklch(53.8% 0.223 319.2);
Tailwind
colors: {
  custom: {
    50: '#c273d2',
    500: '#a22cbd',
    950: '#000000',
  },
}
SCSS
$custom: #a22cbd;
$custom-light: #c273d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22cbd",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 288.828,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.22331,
    "h": 319.2
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#A22CBD
secondary
#89CB7A
accent
#E54261
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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