#A22BC3#A22BC3

#A22BC3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.229 H 317.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A22BC3
RGBrgb(162, 43, 195)
HSLhsl(287, 64%, 47%)
HSVhsv(287, 78%, 76%)
CMYKcmyk(16.9%, 77.9%, 0%, 23.5%)
CIE-LABlab(43.29, 67.41, -54.96)
CIE-LCHlch(43.29, 86.97, 320.81°)
OKLaboklab(54.12% 0.1692 -0.1547)
OKLCHoklch(54.12% 0.229 317.6)
XYZxyz(25.6131, 13.3504, 52.8469)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BC3 #4CC32B
analogous
#562BC3 #A22BC3 #C32B98
triadic
#A22BC3 #C3A22B #2BC3A2
tetradic
#A22BC3 #C3562B #4CC32B #2B98C3
square
#A22BC3 #C3562B #4CC32B #2B98C3
split-complementary
#A22BC3 #98C32B #2BC356
monochromatic
#4F155F #782091 #A22BC3 #BC52D9 #CF84E4

Accessibility & contrast

On white

5.72
#A22BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A22BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BC3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BC3#FFFFFF#000000##FFFFFF
##A22BC31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#A14D77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22bc3;
/* rgb */ color: rgb(162, 43, 195);
/* oklch */ color: oklch(54.1% 0.229 317.6);
Tailwind
colors: {
  custom: {
    50: '#c272d6',
    500: '#a22bc3',
    950: '#000000',
  },
}
SCSS
$custom: #a22bc3;
$custom-light: #c272d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bc3",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 286.974,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.22925,
    "h": 317.6
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#A22BC3
secondary
#8ECD7D
accent
#E74165
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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