#A22996#A22996

#A22996 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.196 H 332.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A22996
RGBrgb(162, 41, 150)
HSLhsl(306, 60%, 40%)
HSVhsv(306, 75%, 64%)
CMYKcmyk(0%, 74.7%, 7.4%, 36.5%)
CIE-LABlab(40.36, 60.28, -32.89)
CIE-LCHlch(40.36, 68.66, 331.38°)
OKLaboklab(51.17% 0.1734 -0.0904)
OKLCHoklch(51.17% 0.196 332.5)
XYZxyz(21.1983, 11.4710, 29.9459)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22996 #29A235
analogous
#7129A2 #A22996 #A2295A
triadic
#A22996 #96A229 #2996A2
tetradic
#A22996 #A27129 #29A235 #295AA2
square
#A22996 #A27129 #29A235 #295AA2
split-complementary
#A22996 #5AA229 #29A271
monochromatic
#40103C #711D69 #A22996 #CD3BBF #DA6CCF

Accessibility & contrast

On white

6.38
#A22996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A22996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22996
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22996#FFFFFF#000000##FFFFFF
##A229961.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22996;
/* rgb */ color: rgb(162, 41, 150);
/* oklch */ color: oklch(51.2% 0.196 332.5);
Tailwind
colors: {
  custom: {
    50: '#c170b5',
    500: '#a22996',
    950: '#000000',
  },
}
SCSS
$custom: #a22996;
$custom-light: #c170b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22996",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 305.95,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.19552,
    "h": 332.5
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#A22996
secondary
#67C06F
accent
#E35545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22996

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

Preview Lab → · Contrast checker → · Palette generator →

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