#A22EC3#A22EC3

#A22EC3 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.226 H 317.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A22EC3
RGBrgb(162, 46, 195)
HSLhsl(287, 62%, 47%)
HSVhsv(287, 76%, 76%)
CMYKcmyk(16.9%, 76.4%, 0%, 23.5%)
CIE-LABlab(43.62, 66.45, -54.42)
CIE-LCHlch(43.62, 85.89, 320.68°)
OKLaboklab(54.36% 0.1667 -0.1532)
OKLCHoklch(54.36% 0.226 317.4)
XYZxyz(25.7262, 13.5766, 52.8846)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EC3 #4FC32E
analogous
#572EC3 #A22EC3 #C32E9A
triadic
#A22EC3 #C3A22E #2EC3A2
tetradic
#A22EC3 #C3572E #4FC32E #2E9AC3
square
#A22EC3 #C3572E #4FC32E #2E9AC3
split-complementary
#A22EC3 #9AC32E #2EC357
monochromatic
#501760 #792291 #A22EC3 #BB57D7 #CF88E3

Accessibility & contrast

On white

5.65
#A22EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A22EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EC3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EC3#FFFFFF#000000##FFFFFF
##A22EC31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#A14F78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22ec3;
/* rgb */ color: rgb(162, 46, 195);
/* oklch */ color: oklch(54.4% 0.226 317.4);
Tailwind
colors: {
  custom: {
    50: '#c274d6',
    500: '#a22ec3',
    950: '#000000',
  },
}
SCSS
$custom: #a22ec3;
$custom-light: #c274d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ec3",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 286.711,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.22638,
    "h": 317.4
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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