#A22899#A22899

#A22899 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.199 H 331.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A22899
RGBrgb(162, 40, 153)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 64%)
CMYKcmyk(0%, 75.3%, 5.6%, 36.5%)
CIE-LABlab(40.41, 61.07, -34.63)
CIE-LCHlch(40.41, 70.20, 330.45°)
OKLaboklab(51.26% 0.1744 -0.0954)
OKLCHoklch(51.26% 0.199 331.3)
XYZxyz(21.4088, 11.5006, 31.2231)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22899 #28A231
analogous
#6E28A2 #A22899 #A2285C
triadic
#A22899 #99A228 #2899A2
tetradic
#A22899 #A26E28 #28A231 #285CA2
square
#A22899 #A26E28 #28A231 #285CA2
split-complementary
#A22899 #5CA228 #28A26E
monochromatic
#40103C #711C6B #A22899 #CE39C3 #DA6AD2

Accessibility & contrast

On white

6.36
#A22899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A22899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22899
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22899#FFFFFF#000000##FFFFFF
##A228991.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#A9375F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22899;
/* rgb */ color: rgb(162, 40, 153);
/* oklch */ color: oklch(51.3% 0.199 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16fb7',
    500: '#a22899',
    950: '#000000',
  },
}
SCSS
$custom: #a22899;
$custom-light: #c16fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22899",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 304.426,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.19881,
    "h": 331.3
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#A22899
secondary
#65C16C
accent
#E45044
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22899

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

Preview Lab → · Contrast checker → · Palette generator →

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