#A22FB3#A22FB3

#A22FB3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.212 H 322.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A22FB3
RGBrgb(162, 47, 179)
HSLhsl(292, 58%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(9.5%, 73.7%, 0%, 29.8%)
CIE-LABlab(42.72, 63.16, -46.48)
CIE-LCHlch(42.72, 78.42, 323.65°)
OKLaboklab(53.39% 0.1674 -0.1299)
OKLCHoklch(53.39% 0.212 322.2)
XYZxyz(24.0526, 12.9705, 43.8757)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FB3 #40B32F
analogous
#602FB3 #A22FB3 #B32F82
triadic
#A22FB3 #B3A22F #2FB3A2
tetradic
#A22FB3 #B3602F #40B32F #2F82B3
square
#A22FB3 #B3602F #40B32F #2F82B3
split-complementary
#A22FB3 #82B32F #2FB360
monochromatic
#4A1652 #762283 #A22FB3 #C04FD1 #D17FDD

Accessibility & contrast

On white

5.84
#A22FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A22FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FB3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FB3#FFFFFF#000000##FFFFFF
##A22FB31.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#A4486F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a22fb3;
/* rgb */ color: rgb(162, 47, 179);
/* oklch */ color: oklch(53.4% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a22fb3',
    950: '#000000',
  },
}
SCSS
$custom: #a22fb3;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fb3",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 292.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53392,
    "c": 0.21193,
    "h": 322.2
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#A22FB3
secondary
#82C678
accent
#E2465A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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