#A22495#A22495

#A22495 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.200 H 332.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A22495
RGBrgb(162, 36, 149)
HSLhsl(306, 64%, 39%)
HSVhsv(306, 78%, 64%)
CMYKcmyk(0%, 77.8%, 8%, 36.5%)
CIE-LABlab(39.77, 61.66, -33.21)
CIE-LCHlch(39.77, 70.03, 331.69°)
OKLaboklab(50.74% 0.1778 -0.0913)
OKLCHoklch(50.74% 0.2 332.8)
XYZxyz(20.9561, 11.1149, 29.4696)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22495 #24A231
analogous
#7024A2 #A22495 #A22456
triadic
#A22495 #95A224 #2495A2
tetradic
#A22495 #A27024 #24A231 #2456A2
square
#A22495 #A27024 #24A231 #2456A2
split-complementary
#A22495 #56A224 #24A270
monochromatic
#3E0E39 #701967 #A22495 #D132C1 #DD64D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22495#FFFFFF#000000##FFFFFF
##A224951.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)
#1D5298
Deuteranopia (green-blind)
#506492
Tritanopia (blue-blind)
#A9325B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22495;
/* rgb */ color: rgb(162, 36, 149);
/* oklch */ color: oklch(50.7% 0.200 332.8);
Tailwind
colors: {
  custom: {
    50: '#c16eb4',
    500: '#a22495',
    950: '#000000',
  },
}
SCSS
$custom: #a22495;
$custom-light: #c16eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22495",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 306.19,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.19988,
    "h": 332.8
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#A22495
secondary
#60C26A
accent
#E75241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22495

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

Preview Lab → · Contrast checker → · Palette generator →

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