#A22EA7#A22EA7

#A22EA7 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.203 H 326.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A22EA7
RGBrgb(162, 46, 167)
HSLhsl(298, 57%, 42%)
HSVhsv(298, 72%, 65%)
CMYKcmyk(3%, 72.5%, 0%, 34.5%)
CIE-LABlab(41.89, 61.40, -40.69)
CIE-LCHlch(41.89, 73.66, 326.46°)
OKLaboklab(52.57% 0.1689 -0.113)
OKLCHoklch(52.57% 0.203 326.2)
XYZxyz(22.8519, 12.4269, 37.7467)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA7 #33A72E
analogous
#662EA7 #A22EA7 #A72E70
triadic
#A22EA7 #A7A22E #2EA7A2
tetradic
#A22EA7 #A7662E #33A72E #2E70A7
square
#A22EA7 #A7662E #33A72E #2E70A7
split-complementary
#A22EA7 #70A72E #2EA766
monochromatic
#451447 #732177 #A22EA7 #C746CC #D576D9

Accessibility & contrast

On white

6.03
#A22EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22EA7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA7#FFFFFF#000000##FFFFFF
##A22EA71.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAA
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#A64268
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22ea7;
/* rgb */ color: rgb(162, 46, 167);
/* oklch */ color: oklch(52.6% 0.203 326.2);
Tailwind
colors: {
  custom: {
    50: '#c172c2',
    500: '#a22ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea7;
$custom-light: #c172c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea7",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 297.521,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.20321,
    "h": 326.2
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#A22EA7
secondary
#73C170
accent
#E0484E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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