#A22F99#A22F99

#A22F99 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.191 H 331.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A22F99
RGBrgb(162, 47, 153)
HSLhsl(305, 55%, 41%)
HSVhsv(305, 71%, 64%)
CMYKcmyk(0%, 71%, 5.6%, 36.5%)
CIE-LABlab(41.24, 58.71, -33.32)
CIE-LCHlch(41.24, 67.50, 330.43°)
OKLaboklab(51.86% 0.1676 -0.0917)
OKLCHoklch(51.86% 0.191 331.3)
XYZxyz(21.6666, 12.0160, 31.3090)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F99 #2FA238
analogous
#712FA2 #A22F99 #A22F5F
triadic
#A22F99 #99A22F #2F99A2
tetradic
#A22F99 #A2712F #2FA238 #2F5FA2
square
#A22F99 #A2712F #2FA238 #2F5FA2
split-complementary
#A22F99 #5FA22F #2FA271
monochromatic
#43133F #73216C #A22F99 #C945BF #D775CF

Accessibility & contrast

On white

6.17
#A22F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F99
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F99#FFFFFF#000000##FFFFFF
##A22F991.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#A93C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22f99;
/* rgb */ color: rgb(162, 47, 153);
/* oklch */ color: oklch(51.9% 0.191 331.3);
Tailwind
colors: {
  custom: {
    50: '#c172b7',
    500: '#a22f99',
    950: '#000000',
  },
}
SCSS
$custom: #a22f99;
$custom-light: #c172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f99",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 304.696,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.19102,
    "h": 331.3
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#A22F99
secondary
#6EBF74
accent
#DE5549
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22F99

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

Preview Lab → · Contrast checker → · Palette generator →

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