#A22999#A22999

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

Color values

HEX#A22999
RGBrgb(162, 41, 153)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 64%)
CMYKcmyk(0%, 74.7%, 5.6%, 36.5%)
CIE-LABlab(40.52, 60.75, -34.45)
CIE-LCHlch(40.52, 69.84, 330.44°)
OKLaboklab(51.34% 0.1735 -0.0949)
OKLCHoklch(51.34% 0.198 331.3)
XYZxyz(21.4430, 11.5689, 31.2345)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22999 #29A232
analogous
#6F29A2 #A22999 #A2295C
triadic
#A22999 #99A229 #2999A2
tetradic
#A22999 #A26F29 #29A232 #295CA2
square
#A22999 #A26F29 #29A232 #295CA2
split-complementary
#A22999 #5CA229 #29A26F
monochromatic
#40103D #711D6B #A22999 #CD3BC2 #DA6CD2

Accessibility & contrast

On white

6.34
#A22999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A22999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22999
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22999#FFFFFF#000000##FFFFFF
##A229991.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22999;
/* rgb */ color: rgb(162, 41, 153);
/* oklch */ color: oklch(51.3% 0.198 331.3);
Tailwind
colors: {
  custom: {
    50: '#c170b7',
    500: '#a22999',
    950: '#000000',
  },
}
SCSS
$custom: #a22999;
$custom-light: #c170b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22999",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 304.463,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.19776,
    "h": 331.3
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#A22999
secondary
#67C06D
accent
#E35145
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22999

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

Preview Lab → · Contrast checker → · Palette generator →

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