#A22896#A22896

#A22896 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.197 H 332.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A22896
RGBrgb(162, 40, 150)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 64%)
CMYKcmyk(0%, 75.3%, 7.4%, 36.5%)
CIE-LABlab(40.25, 60.60, -33.06)
CIE-LCHlch(40.25, 69.03, 331.38°)
OKLaboklab(51.09% 0.1743 -0.0909)
OKLCHoklch(51.09% 0.197 332.5)
XYZxyz(21.1642, 11.4027, 29.9345)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22896 #28A234
analogous
#7128A2 #A22896 #A22859
triadic
#A22896 #96A228 #2896A2
tetradic
#A22896 #A27128 #28A234 #2859A2
square
#A22896 #A27128 #28A234 #2859A2
split-complementary
#A22896 #59A228 #28A271
monochromatic
#40103B #711C69 #A22896 #CE39BF #DA6ACF

Accessibility & contrast

On white

6.40
#A22896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22896
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22896#FFFFFF#000000##FFFFFF
##A228961.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#A9365D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22896;
/* rgb */ color: rgb(162, 40, 150);
/* oklch */ color: oklch(51.1% 0.197 332.5);
Tailwind
colors: {
  custom: {
    50: '#c16fb5',
    500: '#a22896',
    950: '#000000',
  },
}
SCSS
$custom: #a22896;
$custom-light: #c16fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22896",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 305.902,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.19659,
    "h": 332.5
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#A22896
secondary
#65C16E
accent
#E45444
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22896

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

Preview Lab → · Contrast checker → · Palette generator →

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