#A22EC0#A22EC0

#A22EC0 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.224 H 318.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A22EC0
RGBrgb(162, 46, 192)
HSLhsl(288, 61%, 47%)
HSVhsv(288, 76%, 75%)
CMYKcmyk(15.6%, 76%, 0%, 24.7%)
CIE-LABlab(43.42, 65.89, -52.99)
CIE-LCHlch(43.42, 84.55, 321.19°)
OKLaboklab(54.15% 0.1671 -0.149)
OKLCHoklch(54.15% 0.224 318.3)
XYZxyz(25.3904, 13.4423, 51.1162)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EC0 #4CC02E
analogous
#592EC0 #A22EC0 #C02E95
triadic
#A22EC0 #C0A22E #2EC0A2
tetradic
#A22EC0 #C0592E #4CC02E #2E95C0
square
#A22EC0 #C0592E #4CC02E #2E95C0
split-complementary
#A22EC0 #95C02E #2EC059
monochromatic
#4F165D #78228F #A22EC0 #BC55D6 #CF86E2

Accessibility & contrast

On white

5.69
#A22EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A22EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EC0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EC0#FFFFFF#000000##FFFFFF
##A22EC01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#A14D76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22ec0;
/* rgb */ color: rgb(162, 46, 192);
/* oklch */ color: oklch(54.2% 0.224 318.3);
Tailwind
colors: {
  custom: {
    50: '#c274d4',
    500: '#a22ec0',
    950: '#000000',
  },
}
SCSS
$custom: #a22ec0;
$custom-light: #c274d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ec0",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 287.671,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.22385,
    "h": 318.3
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#A22EC0
secondary
#8ECC7E
accent
#E44364
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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