#A22BA0#A22BA0

#A22BA0 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.201 H 328.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A22BA0
RGBrgb(162, 43, 160)
HSLhsl(301, 58%, 40%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 73.5%, 1.2%, 36.5%)
CIE-LABlab(41.13, 61.23, -37.70)
CIE-LCHlch(41.13, 71.91, 328.38°)
OKLaboklab(51.9% 0.1718 -0.1043)
OKLCHoklch(51.9% 0.201 328.7)
XYZxyz(22.1091, 11.9488, 34.3928)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA0 #2BA22D
analogous
#682BA2 #A22BA0 #A22B65
triadic
#A22BA0 #A0A22B #2BA0A2
tetradic
#A22BA0 #A2682B #2BA22D #2B65A2
square
#A22BA0 #A2682B #2BA22D #2B65A2
split-complementary
#A22BA0 #65A22B #2BA268
monochromatic
#411140 #721E70 #A22BA0 #CC3EC9 #D96FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22BA0#FFFFFF#000000##FFFFFF
##A22BA01.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)
#1757A3
Deuteranopia (green-blind)
#4D669D
Tritanopia (blue-blind)
#A73D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22ba0;
/* rgb */ color: rgb(162, 43, 160);
/* oklch */ color: oklch(51.9% 0.201 328.7);
Tailwind
colors: {
  custom: {
    50: '#c171bc',
    500: '#a22ba0',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba0;
$custom-light: #c171bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba0",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 301.008,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.20096,
    "h": 328.7
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A22BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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