#A22BAD#A22BAD

#A22BAD is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.211 H 324.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A22BAD
RGBrgb(162, 43, 173)
HSLhsl(295, 60%, 42%)
HSVhsv(295, 75%, 68%)
CMYKcmyk(6.4%, 75.1%, 0%, 32.2%)
CIE-LABlab(41.89, 63.44, -44.26)
CIE-LCHlch(41.89, 77.35, 325.10°)
OKLaboklab(52.68% 0.1714 -0.1234)
OKLCHoklch(52.68% 0.211 324.2)
XYZxyz(23.3064, 12.4277, 40.6983)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BAD #36AD2B
analogous
#612BAD #A22BAD #AD2B77
triadic
#A22BAD #ADA22B #2BADA2
tetradic
#A22BAD #AD612B #36AD2B #2B77AD
square
#A22BAD #AD612B #36AD2B #2B77AD
split-complementary
#A22BAD #77AD2B #2BAD61
monochromatic
#46134B #741F7C #A22BAD #C545D1 #D476DD

Accessibility & contrast

On white

6.03
#A22BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A22BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BAD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BAD#FFFFFF#000000##FFFFFF
##A22BAD1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4468AA
Tritanopia (blue-blind)
#A5436A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22bad;
/* rgb */ color: rgb(162, 43, 173);
/* oklch */ color: oklch(52.7% 0.211 324.2);
Tailwind
colors: {
  custom: {
    50: '#c171c6',
    500: '#a22bad',
    950: '#000000',
  },
}
SCSS
$custom: #a22bad;
$custom-light: #c171c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bad",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 294.923,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52684,
    "c": 0.21124,
    "h": 324.2
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#A22BAD
secondary
#77C46F
accent
#E34452
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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