#A22BB3#A22BB3

#A22BB3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 322.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A22BB3
RGBrgb(162, 43, 179)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 70%)
CMYKcmyk(9.5%, 76%, 0%, 29.8%)
CIE-LABlab(42.25, 64.49, -47.23)
CIE-LCHlch(42.25, 79.94, 323.78°)
OKLaboklab(53.06% 0.171 -0.1321)
OKLCHoklch(53.06% 0.216 322.3)
XYZxyz(23.9000, 12.6652, 43.8248)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BB3 #3CB32B
analogous
#5E2BB3 #A22BB3 #B32B80
triadic
#A22BB3 #B3A22B #2BB3A2
tetradic
#A22BB3 #B35E2B #3CB32B #2B80B3
square
#A22BB3 #B35E2B #3CB32B #2B80B3
split-complementary
#A22BB3 #80B32B #2BB35E
monochromatic
#491350 #751F82 #A22BB3 #C248D3 #D279DF

Accessibility & contrast

On white

5.94
#A22BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A22BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BB3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BB3#FFFFFF#000000##FFFFFF
##A22BB31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#A4466E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a22bb3;
/* rgb */ color: rgb(162, 43, 179);
/* oklch */ color: oklch(53.1% 0.216 322.3);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a22bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a22bb3;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bb3",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 292.5,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.21608,
    "h": 322.3
  },
  "luminance": 0.12664
}

Semantic roles & 50–950 ramp

primary
#A22BB3
secondary
#7DC773
accent
#E44358
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A22BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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