#A22B9F#A22B9F

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

Color values

HEX#A22B9F
RGBrgb(162, 43, 159)
HSLhsl(302, 58%, 40%)
HSVhsv(302, 73%, 64%)
CMYKcmyk(0%, 73.5%, 1.9%, 36.5%)
CIE-LABlab(41.08, 61.07, -37.19)
CIE-LCHlch(41.08, 71.50, 328.66°)
OKLaboklab(51.85% 0.1718 -0.1028)
OKLCHoklch(51.85% 0.2 329.1)
XYZxyz(22.0220, 11.9140, 33.9339)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B9F #2BA22E
analogous
#6A2BA2 #A22B9F #A22B63
triadic
#A22B9F #9FA22B #2B9FA2
tetradic
#A22B9F #A26A2B #2BA22E #2B63A2
square
#A22B9F #A26A2B #2BA22E #2B63A2
split-complementary
#A22B9F #63A22B #2BA26A
monochromatic
#411140 #721E70 #A22B9F #CC3EC8 #D96FD6

Accessibility & contrast

On white

6.21
#A22B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A22B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B9F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B9F#FFFFFF#000000##FFFFFF
##A22B9F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22b9f;
/* rgb */ color: rgb(162, 43, 159);
/* oklch */ color: oklch(51.8% 0.200 329.1);
Tailwind
colors: {
  custom: {
    50: '#c171bc',
    500: '#a22b9f',
    950: '#000000',
  },
}
SCSS
$custom: #a22b9f;
$custom-light: #c171bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b9f",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 301.513,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.20019,
    "h": 329.1
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#A22B9F
secondary
#69C06B
accent
#E14A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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