#A22DBA#A22DBA

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

Color values

HEX#A22DBA
RGBrgb(162, 45, 186)
HSLhsl(290, 61%, 45%)
HSVhsv(290, 76%, 73%)
CMYKcmyk(12.9%, 75.8%, 0%, 27.1%)
CIE-LABlab(42.92, 65.11, -50.28)
CIE-LCHlch(42.92, 82.26, 322.32°)
OKLaboklab(53.68% 0.1686 -0.141)
OKLCHoklch(53.68% 0.22 320.1)
XYZxyz(24.7005, 13.1046, 47.6732)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DBA #45BA2D
analogous
#5B2DBA #A22DBA #BA2D8C
triadic
#A22DBA #BAA22D #2DBAA2
tetradic
#A22DBA #BA5B2D #45BA2D #2D8CBA
square
#A22DBA #BA5B2D #45BA2D #2D8CBA
split-complementary
#A22DBA #8CBA2D #2DBA5B
monochromatic
#4C1557 #772189 #A22DBA #BE50D5 #D081E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22DBA#FFFFFF#000000##FFFFFF
##A22DBA1.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)
#005EBE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#A34A72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22dba;
/* rgb */ color: rgb(162, 45, 186);
/* oklch */ color: oklch(53.7% 0.220 320.1);
Tailwind
colors: {
  custom: {
    50: '#c273cf',
    500: '#a22dba',
    950: '#000000',
  },
}
SCSS
$custom: #a22dba;
$custom-light: #c273cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22dba",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 289.787,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.21984,
    "h": 320.1
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#A22DBA
secondary
#87C979
accent
#E4445F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A22DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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