#A22EA3#A22EA3

#A22EA3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.200 H 327.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A22EA3
RGBrgb(162, 46, 163)
HSLhsl(299, 56%, 41%)
HSVhsv(299, 72%, 64%)
CMYKcmyk(0.6%, 71.8%, 0%, 36.1%)
CIE-LABlab(41.66, 60.71, -38.66)
CIE-LCHlch(41.66, 71.98, 327.51°)
OKLaboklab(52.33% 0.1689 -0.1071)
OKLCHoklch(52.33% 0.2 327.6)
XYZxyz(22.4878, 12.2813, 35.8293)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA3 #2FA32E
analogous
#672EA3 #A22EA3 #A32E69
triadic
#A22EA3 #A3A22E #2EA3A2
tetradic
#A22EA3 #A3672E #2FA32E #2E69A3
square
#A22EA3 #A3672E #2FA32E #2E69A3
split-complementary
#A22EA3 #69A32E #2EA367
monochromatic
#431344 #732173 #A22EA3 #C944CA #D774D8

Accessibility & contrast

On white

6.08
#A22EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A22EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA3
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA3#FFFFFF#000000##FFFFFF
##A22EA31.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#A74066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ea3;
/* rgb */ color: rgb(162, 46, 163);
/* oklch */ color: oklch(52.3% 0.200 327.6);
Tailwind
colors: {
  custom: {
    50: '#c172bf',
    500: '#a22ea3',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea3;
$custom-light: #c172bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea3",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 299.487,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.20001,
    "h": 327.6
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#A22EA3
secondary
#6EBF6D
accent
#DF494A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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