#A22298#A22298

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

Color values

HEX#A22298
RGBrgb(162, 34, 152)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 64%)
CMYKcmyk(0%, 79%, 6.2%, 36.5%)
CIE-LABlab(39.74, 62.69, -35.08)
CIE-LCHlch(39.74, 71.84, 330.77°)
OKLaboklab(50.76% 0.1795 -0.0967)
OKLCHoklch(50.76% 0.204 331.7)
XYZxyz(21.1399, 11.0942, 30.7277)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22298 #22A22C
analogous
#6C22A2 #A22298 #A22258
triadic
#A22298 #98A222 #2298A2
tetradic
#A22298 #A26C22 #22A22C #2258A2
square
#A22298 #A26C22 #22A22C #2258A2
split-complementary
#A22298 #58A222 #22A26C
monochromatic
#3D0D39 #6F1769 #A22298 #D32EC6 #DE61D4

Accessibility & contrast

On white

6.52
#A22298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22298
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22298#FFFFFF#000000##FFFFFF
##A222981.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#4D6495
Tritanopia (blue-blind)
#A9335C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22298;
/* rgb */ color: rgb(162, 34, 152);
/* oklch */ color: oklch(50.8% 0.204 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16db7',
    500: '#a22298',
    950: '#000000',
  },
}
SCSS
$custom: #a22298;
$custom-light: #c16db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22298",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 304.688,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.20392,
    "h": 331.7
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#A22298
secondary
#5DC365
accent
#E84D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22298

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

Preview Lab → · Contrast checker → · Palette generator →

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