#A22992#A22992

#A22992 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.193 H 334.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A22992
RGBrgb(162, 41, 146)
HSLhsl(308, 60%, 40%)
HSVhsv(308, 75%, 64%)
CMYKcmyk(0%, 74.7%, 9.9%, 36.5%)
CIE-LABlab(40.15, 59.66, -30.79)
CIE-LCHlch(40.15, 67.13, 332.70°)
OKLaboklab(50.96% 0.1732 -0.0843)
OKLCHoklch(50.96% 0.193 334)
XYZxyz(20.8817, 11.3444, 28.2785)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22992 #29A239
analogous
#7629A2 #A22992 #A22955
triadic
#A22992 #92A229 #2992A2
tetradic
#A22992 #A27629 #29A239 #2955A2
square
#A22992 #A27629 #29A239 #2955A2
split-complementary
#A22992 #55A229 #29A276
monochromatic
#40103A #711D66 #A22992 #CD3BBA #DA6CCB

Accessibility & contrast

On white

6.42
#A22992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22992
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22992#FFFFFF#000000##FFFFFF
##A229921.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#AA345B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22992;
/* rgb */ color: rgb(162, 41, 146);
/* oklch */ color: oklch(51.0% 0.193 334.0);
Tailwind
colors: {
  custom: {
    50: '#c170b2',
    500: '#a22992',
    950: '#000000',
  },
}
SCSS
$custom: #a22992;
$custom-light: #c170b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22992",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 307.934,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.19259,
    "h": 334
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#A22992
secondary
#67C072
accent
#E35A45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22992

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

Preview Lab → · Contrast checker → · Palette generator →

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