#A22EA8#A22EA8

#A22EA8 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.6% C 0.204 H 325.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A22EA8
RGBrgb(162, 46, 168)
HSLhsl(297, 57%, 42%)
HSVhsv(297, 73%, 66%)
CMYKcmyk(3.6%, 72.6%, 0%, 34.1%)
CIE-LABlab(41.94, 61.57, -41.20)
CIE-LCHlch(41.94, 74.08, 326.21°)
OKLaboklab(52.63% 0.1689 -0.1145)
OKLCHoklch(52.63% 0.204 325.9)
XYZxyz(22.9447, 12.4640, 38.2355)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA8 #34A82E
analogous
#652EA8 #A22EA8 #A82E71
triadic
#A22EA8 #A8A22E #2EA8A2
tetradic
#A22EA8 #A8652E #34A82E #2E71A8
square
#A22EA8 #A8652E #34A82E #2E71A8
split-complementary
#A22EA8 #71A82E #2EA865
monochromatic
#451448 #742178 #A22EA8 #C647CD #D577DA

Accessibility & contrast

On white

6.01
#A22EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A22EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA8#FFFFFF#000000##FFFFFF
##A22EA81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#A64268
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ea8;
/* rgb */ color: rgb(162, 46, 168);
/* oklch */ color: oklch(52.6% 0.204 325.9);
Tailwind
colors: {
  custom: {
    50: '#c173c2',
    500: '#a22ea8',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea8;
$custom-light: #c173c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea8",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 297.049,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.20402,
    "h": 325.9
  },
  "luminance": 0.12463
}

Semantic roles & 50–950 ramp

primary
#A22EA8
secondary
#74C270
accent
#E0484F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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