#A22BA3#A22BA3

#A22BA3 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.203 H 327.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A22BA3
RGBrgb(162, 43, 163)
HSLhsl(300, 58%, 40%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0.6%, 73.6%, 0%, 36.1%)
CIE-LABlab(41.30, 61.73, -39.23)
CIE-LCHlch(41.30, 73.14, 327.56°)
OKLaboklab(52.08% 0.1718 -0.1088)
OKLCHoklch(52.08% 0.203 327.7)
XYZxyz(22.3747, 12.0551, 35.7916)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BA3 #2CA32B
analogous
#662BA3 #A22BA3 #A32B68
triadic
#A22BA3 #A3A22B #2BA3A2
tetradic
#A22BA3 #A3662B #2CA32B #2B68A3
square
#A22BA3 #A3662B #2CA32B #2B68A3
split-complementary
#A22BA3 #68A32B #2BA366
monochromatic
#421142 #721E73 #A22BA3 #CB3FCC #D86FD9

Accessibility & contrast

On white

6.16
#A22BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A22BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BA3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BA3#FFFFFF#000000##FFFFFF
##A22BA31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#A73E65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22ba3;
/* rgb */ color: rgb(162, 43, 163);
/* oklch */ color: oklch(52.1% 0.203 327.7);
Tailwind
colors: {
  custom: {
    50: '#c171bf',
    500: '#a22ba3',
    950: '#000000',
  },
}
SCSS
$custom: #a22ba3;
$custom-light: #c171bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ba3",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 299.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.2033,
    "h": 327.7
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#A22BA3
secondary
#6AC06A
accent
#E14648
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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