#A22696#A22696

#A22696 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.199 H 332.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A22696
RGBrgb(162, 38, 150)
HSLhsl(306, 62%, 39%)
HSVhsv(306, 77%, 64%)
CMYKcmyk(0%, 76.5%, 7.4%, 36.5%)
CIE-LABlab(40.03, 61.22, -33.41)
CIE-LCHlch(40.03, 69.74, 331.38°)
OKLaboklab(50.94% 0.1761 -0.0918)
OKLCHoklch(50.94% 0.199 332.5)
XYZxyz(21.0985, 11.2714, 29.9126)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22696 #26A232
analogous
#7026A2 #A22696 #A22658
triadic
#A22696 #96A226 #2696A2
tetradic
#A22696 #A27026 #26A232 #2658A2
square
#A22696 #A27026 #26A232 #2658A2
split-complementary
#A22696 #58A226 #26A270
monochromatic
#3F0F3A #701A68 #A22696 #D035C1 #DB67D0

Accessibility & contrast

On white

6.45
#A22696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A22696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22696
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22696#FFFFFF#000000##FFFFFF
##A226961.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5399
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#A9345C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22696;
/* rgb */ color: rgb(162, 38, 150);
/* oklch */ color: oklch(50.9% 0.199 332.5);
Tailwind
colors: {
  custom: {
    50: '#c16fb5',
    500: '#a22696',
    950: '#000000',
  },
}
SCSS
$custom: #a22696;
$custom-light: #c16fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22696",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 305.806,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.19864,
    "h": 332.5
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#A22696
secondary
#63C16C
accent
#E55243
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22696

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

Preview Lab → · Contrast checker → · Palette generator →

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