#A22D9B#A22D9B

#A22D9B is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.195 H 330.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A22D9B
RGBrgb(162, 45, 155)
HSLhsl(304, 57%, 41%)
HSVhsv(304, 72%, 64%)
CMYKcmyk(0%, 72.2%, 4.3%, 36.5%)
CIE-LABlab(41.10, 59.74, -34.75)
CIE-LCHlch(41.10, 69.11, 329.81°)
OKLaboklab(51.79% 0.1697 -0.0958)
OKLCHoklch(51.79% 0.195 330.6)
XYZxyz(21.7550, 11.9264, 32.1602)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D9B #2DA234
analogous
#6E2DA2 #A22D9B #A22D60
triadic
#A22D9B #9BA22D #2D9BA2
tetradic
#A22D9B #A26E2D #2DA234 #2D60A2
square
#A22D9B #A26E2D #2DA234 #2D60A2
split-complementary
#A22D9B #60A22D #2DA26E
monochromatic
#42123F #72206D #A22D9B #CA42C2 #D872D2

Accessibility & contrast

On white

6.20
#A22D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A22D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D9B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D9B#FFFFFF#000000##FFFFFF
##A22D9B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579E
Deuteranopia (green-blind)
#506798
Tritanopia (blue-blind)
#A83C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22d9b;
/* rgb */ color: rgb(162, 45, 155);
/* oklch */ color: oklch(51.8% 0.195 330.6);
Tailwind
colors: {
  custom: {
    50: '#c172b9',
    500: '#a22d9b',
    950: '#000000',
  },
}
SCSS
$custom: #a22d9b;
$custom-light: #c172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d9b",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 303.59,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.19488,
    "h": 330.6
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#A22D9B
secondary
#6CBF71
accent
#E05148
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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