#A22A9F#A22A9F

#A22A9F is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.201 H 329.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A22A9F
RGBrgb(162, 42, 159)
HSLhsl(302, 59%, 40%)
HSVhsv(302, 74%, 64%)
CMYKcmyk(0%, 74.1%, 1.9%, 36.5%)
CIE-LABlab(40.96, 61.40, -37.37)
CIE-LCHlch(40.96, 71.87, 328.67°)
OKLaboklab(51.76% 0.1727 -0.1033)
OKLCHoklch(51.76% 0.201 329.1)
XYZxyz(21.9861, 11.8422, 33.9219)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A9F #2AA22D
analogous
#692AA2 #A22A9F #A22A63
triadic
#A22A9F #9FA22A #2A9FA2
tetradic
#A22A9F #A2692A #2AA22D #2A63A2
square
#A22A9F #A2692A #2AA22D #2A63A2
split-complementary
#A22A9F #63A22A #2AA269
monochromatic
#411140 #711D6F #A22A9F #CD3DC9 #D96DD7

Accessibility & contrast

On white

6.23
#A22A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A22A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A9F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A9F#FFFFFF#000000##FFFFFF
##A22A9F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A83B62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22a9f;
/* rgb */ color: rgb(162, 42, 159);
/* oklch */ color: oklch(51.8% 0.201 329.1);
Tailwind
colors: {
  custom: {
    50: '#c170bc',
    500: '#a22a9f',
    950: '#000000',
  },
}
SCSS
$custom: #a22a9f;
$custom-light: #c170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a9f",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 301.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.20125,
    "h": 329.1
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#A22A9F
secondary
#68C06A
accent
#E24A46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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