#A22297#A22297

#A22297 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.203 H 332.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A22297
RGBrgb(162, 34, 151)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 64%)
CMYKcmyk(0%, 79%, 6.8%, 36.5%)
CIE-LABlab(39.68, 62.53, -34.56)
CIE-LCHlch(39.68, 71.45, 331.07°)
OKLaboklab(50.71% 0.1795 -0.0952)
OKLCHoklch(50.71% 0.203 332.1)
XYZxyz(21.0583, 11.0616, 30.2982)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22297 #22A22D
analogous
#6D22A2 #A22297 #A22257
triadic
#A22297 #97A222 #2297A2
tetradic
#A22297 #A26D22 #22A22D #2257A2
square
#A22297 #A26D22 #22A22D #2257A2
split-complementary
#A22297 #57A222 #22A26D
monochromatic
#3D0D39 #6F1768 #A22297 #D32EC5 #DE61D3

Accessibility & contrast

On white

6.54
#A22297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A22297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22297
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22297#FFFFFF#000000##FFFFFF
##A222971.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A9325C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22297;
/* rgb */ color: rgb(162, 34, 151);
/* oklch */ color: oklch(50.7% 0.203 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16db6',
    500: '#a22297',
    950: '#000000',
  },
}
SCSS
$custom: #a22297;
$custom-light: #c16db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22297",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 305.156,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.2032,
    "h": 332.1
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#A22297
secondary
#5DC366
accent
#E84E40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22297

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

Preview Lab → · Contrast checker → · Palette generator →

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