#A22498#A22498

#A22498 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.202 H 331.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A22498
RGBrgb(162, 36, 152)
HSLhsl(305, 64%, 39%)
HSVhsv(305, 78%, 64%)
CMYKcmyk(0%, 77.8%, 6.2%, 36.5%)
CIE-LABlab(39.94, 62.12, -34.77)
CIE-LCHlch(39.94, 71.19, 330.76°)
OKLaboklab(50.9% 0.1779 -0.0958)
OKLCHoklch(50.9% 0.202 331.7)
XYZxyz(21.1987, 11.2119, 30.7473)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22498 #24A22E
analogous
#6D24A2 #A22498 #A22459
triadic
#A22498 #98A224 #2498A2
tetradic
#A22498 #A26D24 #24A22E #2459A2
square
#A22498 #A26D24 #24A22E #2459A2
split-complementary
#A22498 #59A224 #24A26D
monochromatic
#3E0E3A #701969 #A22498 #D132C5 #DD64D3

Accessibility & contrast

On white

6.48
#A22498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22498
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22498#FFFFFF#000000##FFFFFF
##A224981.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#A9345D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22498;
/* rgb */ color: rgb(162, 36, 152);
/* oklch */ color: oklch(50.9% 0.202 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16eb7',
    500: '#a22498',
    950: '#000000',
  },
}
SCSS
$custom: #a22498;
$custom-light: #c16eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22498",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 304.762,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.20206,
    "h": 331.7
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22498

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

Preview Lab → · Contrast checker → · Palette generator →

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