#A22DC4#A22DC4

#A22DC4 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.228 H 317.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A22DC4
RGBrgb(162, 45, 196)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 77%)
CMYKcmyk(17.3%, 77%, 0%, 23.1%)
CIE-LABlab(43.57, 66.96, -55.08)
CIE-LCHlch(43.57, 86.71, 320.56°)
OKLaboklab(54.34% 0.1674 -0.1551)
OKLCHoklch(54.34% 0.228 317.2)
XYZxyz(25.8010, 13.5448, 53.4692)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DC4 #4FC42D
analogous
#562DC4 #A22DC4 #C42D9B
triadic
#A22DC4 #C4A22D #2DC4A2
tetradic
#A22DC4 #C4562D #4FC42D #2D9BC4
square
#A22DC4 #C4562D #4FC42D #2D9BC4
split-complementary
#A22DC4 #9BC42D #2DC456
monochromatic
#501660 #792292 #A22DC4 #BB56D8 #CF88E4

Accessibility & contrast

On white

5.66
#A22DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A22DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DC4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DC4#FFFFFF#000000##FFFFFF
##A22DC41.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#306AC1
Tritanopia (blue-blind)
#A04F78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22dc4;
/* rgb */ color: rgb(162, 45, 196);
/* oklch */ color: oklch(54.3% 0.228 317.2);
Tailwind
colors: {
  custom: {
    50: '#c273d7',
    500: '#a22dc4',
    950: '#000000',
  },
}
SCSS
$custom: #a22dc4;
$custom-light: #c273d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22dc4",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 286.49,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.2282,
    "h": 317.2
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#A22DC4
secondary
#91CD80
accent
#E64267
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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