#A22DB2#A22DB2

#A22DB2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 322.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A22DB2
RGBrgb(162, 45, 178)
HSLhsl(293, 60%, 44%)
HSVhsv(293, 75%, 70%)
CMYKcmyk(9%, 74.7%, 0%, 30.2%)
CIE-LABlab(42.42, 63.66, -46.37)
CIE-LCHlch(42.42, 78.76, 323.93°)
OKLaboklab(53.16% 0.1693 -0.1296)
OKLCHoklch(53.16% 0.213 322.6)
XYZxyz(23.8738, 12.7739, 43.3190)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DB2 #3DB22D
analogous
#5F2DB2 #A22DB2 #B22D7F
triadic
#A22DB2 #B2A22D #2DB2A2
tetradic
#A22DB2 #B25F2D #3DB22D #2D7FB2
square
#A22DB2 #B25F2D #3DB22D #2D7FB2
split-complementary
#A22DB2 #7FB22D #2DB25F
monochromatic
#491450 #762181 #A22DB2 #C14BD1 #D27CDE

Accessibility & contrast

On white

5.91
#A22DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A22DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DB2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DB2#FFFFFF#000000##FFFFFF
##A22DB21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#A4466E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22db2;
/* rgb */ color: rgb(162, 45, 178);
/* oklch */ color: oklch(53.2% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a22db2',
    950: '#000000',
  },
}
SCSS
$custom: #a22db2;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a22db2",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 292.782,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.21323,
    "h": 322.6
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#A22DB2
secondary
#7EC675
accent
#E34558
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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