#A22397#A22397

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

Color values

HEX#A22397
RGBrgb(162, 35, 151)
HSLhsl(305, 64%, 39%)
HSVhsv(305, 78%, 64%)
CMYKcmyk(0%, 78.4%, 6.8%, 36.5%)
CIE-LABlab(39.78, 62.25, -34.41)
CIE-LCHlch(39.78, 71.13, 331.07°)
OKLaboklab(50.78% 0.1787 -0.0947)
OKLCHoklch(50.78% 0.202 332.1)
XYZxyz(21.0873, 11.1196, 30.3078)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22397 #23A22E
analogous
#6D23A2 #A22397 #A22357
triadic
#A22397 #97A223 #2397A2
tetradic
#A22397 #A26D23 #23A22E #2357A2
square
#A22397 #A26D23 #23A22E #2357A2
split-complementary
#A22397 #57A223 #23A26D
monochromatic
#3D0D39 #701868 #A22397 #D230C4 #DD62D2

Accessibility & contrast

On white

6.51
#A22397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22397
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22397#FFFFFF#000000##FFFFFF
##A223971.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#A9335C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22397;
/* rgb */ color: rgb(162, 35, 151);
/* oklch */ color: oklch(50.8% 0.202 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16db6',
    500: '#a22397',
    950: '#000000',
  },
}
SCSS
$custom: #a22397;
$custom-light: #c16db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22397",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 305.197,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.20228,
    "h": 332.1
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#A22397
secondary
#5EC267
accent
#E74F40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22397

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

Preview Lab → · Contrast checker → · Palette generator →

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