#A22E97#A22E97

#A22E97 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.191 H 332.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A22E97
RGBrgb(162, 46, 151)
HSLhsl(306, 56%, 41%)
HSVhsv(306, 72%, 64%)
CMYKcmyk(0%, 71.6%, 6.8%, 36.5%)
CIE-LABlab(41.01, 58.74, -32.47)
CIE-LCHlch(41.01, 67.12, 331.07°)
OKLaboklab(51.66% 0.1685 -0.0892)
OKLCHoklch(51.66% 0.191 332.1)
XYZxyz(21.4632, 11.8715, 30.4331)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E97 #2EA239
analogous
#732EA2 #A22E97 #A22E5D
triadic
#A22E97 #97A22E #2E97A2
tetradic
#A22E97 #A2732E #2EA239 #2E5DA2
square
#A22E97 #A2732E #2EA239 #2E5DA2
split-complementary
#A22E97 #5DA22E #2EA273
monochromatic
#43133E #72206B #A22E97 #CA43BD #D773CE

Accessibility & contrast

On white

6.22
#A22E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A22E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E97
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E97#FFFFFF#000000##FFFFFF
##A22E971.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#536694
Tritanopia (blue-blind)
#A93A5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22e97;
/* rgb */ color: rgb(162, 46, 151);
/* oklch */ color: oklch(51.7% 0.191 332.1);
Tailwind
colors: {
  custom: {
    50: '#c172b6',
    500: '#a22e97',
    950: '#000000',
  },
}
SCSS
$custom: #a22e97;
$custom-light: #c172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e97",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 305.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51658,
    "c": 0.19067,
    "h": 332.1
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#A22E97
secondary
#6DBF75
accent
#DF5749
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E97

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

Preview Lab → · Contrast checker → · Palette generator →

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