#A22497#A22497

#A22497 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 332.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A22497
RGBrgb(162, 36, 151)
HSLhsl(305, 64%, 39%)
HSVhsv(305, 78%, 64%)
CMYKcmyk(0%, 77.8%, 6.8%, 36.5%)
CIE-LABlab(39.88, 61.97, -34.25)
CIE-LCHlch(39.88, 70.80, 331.07°)
OKLaboklab(50.85% 0.1779 -0.0943)
OKLCHoklch(50.85% 0.201 332.1)
XYZxyz(21.1171, 11.1793, 30.3178)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22497 #24A22F
analogous
#6E24A2 #A22497 #A22458
triadic
#A22497 #97A224 #2497A2
tetradic
#A22497 #A26E24 #24A22F #2458A2
square
#A22497 #A26E24 #24A22F #2458A2
split-complementary
#A22497 #58A224 #24A26E
monochromatic
#3E0E3A #701968 #A22497 #D132C3 #DD64D2

Accessibility & contrast

On white

6.49
#A22497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A22497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22497
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22497#FFFFFF#000000##FFFFFF
##A224971.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#A9345C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22497;
/* rgb */ color: rgb(162, 36, 151);
/* oklch */ color: oklch(50.8% 0.201 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16eb6',
    500: '#a22497',
    950: '#000000',
  },
}
SCSS
$custom: #a22497;
$custom-light: #c16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22497",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 305.238,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.20133,
    "h": 332.1
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#A22497
secondary
#60C268
accent
#E75041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22497

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

Preview Lab → · Contrast checker → · Palette generator →

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