#A22B9D#A22B9D

#A22B9D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 329.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A22B9D
RGBrgb(162, 43, 157)
HSLhsl(303, 58%, 40%)
HSVhsv(303, 73%, 64%)
CMYKcmyk(0%, 73.5%, 3.1%, 36.5%)
CIE-LABlab(40.97, 60.74, -36.16)
CIE-LCHlch(40.97, 70.69, 329.24°)
OKLaboklab(51.73% 0.1717 -0.0998)
OKLCHoklch(51.73% 0.199 329.8)
XYZxyz(21.8498, 11.8451, 33.0273)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B9D #2BA230
analogous
#6B2BA2 #A22B9D #A22B61
triadic
#A22B9D #9DA22B #2B9DA2
tetradic
#A22B9D #A26B2B #2BA230 #2B61A2
square
#A22B9D #A26B2B #2BA230 #2B61A2
split-complementary
#A22B9D #61A22B #2BA26B
monochromatic
#41113F #721E6E #A22B9D #CC3EC6 #D96FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22B9D#FFFFFF#000000##FFFFFF
##A22B9D1.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)
#1C56A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#A83B62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22b9d;
/* rgb */ color: rgb(162, 43, 157);
/* oklch */ color: oklch(51.7% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#c171ba',
    500: '#a22b9d',
    950: '#000000',
  },
}
SCSS
$custom: #a22b9d;
$custom-light: #c171ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b9d",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 302.521,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.19865,
    "h": 329.8
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#A22B9D
secondary
#69C06D
accent
#E14D47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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