#A22D9F#A22D9F

#A22D9F is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.198 H 329.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A22D9F
RGBrgb(162, 45, 159)
HSLhsl(302, 57%, 41%)
HSVhsv(302, 72%, 64%)
CMYKcmyk(0%, 72.2%, 1.9%, 36.5%)
CIE-LABlab(41.32, 60.39, -36.81)
CIE-LCHlch(41.32, 70.73, 328.64°)
OKLaboklab(52.02% 0.1698 -0.1017)
OKLCHoklch(52.02% 0.198 329.1)
XYZxyz(22.0965, 12.0630, 33.9587)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D9F #2DA230
analogous
#6A2DA2 #A22D9F #A22D65
triadic
#A22D9F #9FA22D #2D9FA2
tetradic
#A22D9F #A26A2D #2DA230 #2D65A2
square
#A22D9F #A26A2D #2DA230 #2D65A2
split-complementary
#A22D9F #65A22D #2DA26A
monochromatic
#421241 #722070 #A22D9F #CA42C7 #D872D5

Accessibility & contrast

On white

6.15
#A22D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A22D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D9F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D9F#FFFFFF#000000##FFFFFF
##A22D9F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#A83D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22d9f;
/* rgb */ color: rgb(162, 45, 159);
/* oklch */ color: oklch(52.0% 0.198 329.1);
Tailwind
colors: {
  custom: {
    50: '#c172bc',
    500: '#a22d9f',
    950: '#000000',
  },
}
SCSS
$custom: #a22d9f;
$custom-light: #c172bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d9f",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 301.538,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.19798,
    "h": 329.1
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#A22D9F
secondary
#6CBF6E
accent
#E04C48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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