#A22BC4#A22BC4

#A22BC4 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.230 H 317.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A22BC4
RGBrgb(162, 43, 196)
HSLhsl(287, 64%, 47%)
HSVhsv(287, 78%, 77%)
CMYKcmyk(17.3%, 78.1%, 0%, 23.1%)
CIE-LABlab(43.35, 67.60, -55.43)
CIE-LCHlch(43.35, 87.42, 320.65°)
OKLaboklab(54.19% 0.169 -0.1561)
OKLCHoklch(54.19% 0.23 317.3)
XYZxyz(25.7265, 13.3958, 53.4444)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BC4 #4DC42B
analogous
#562BC4 #A22BC4 #C42B9A
triadic
#A22BC4 #C4A22B #2BC4A2
tetradic
#A22BC4 #C4562B #4DC42B #2B9AC4
square
#A22BC4 #C4562B #4DC42B #2B9AC4
split-complementary
#A22BC4 #9AC42B #2BC456
monochromatic
#4F1560 #792092 #A22BC4 #BB53D9 #CF85E4

Accessibility & contrast

On white

5.71
#A22BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A22BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BC4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BC4#FFFFFF#000000##FFFFFF
##A22BC41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2E6AC1
Tritanopia (blue-blind)
#A04E78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a22bc4;
/* rgb */ color: rgb(162, 43, 196);
/* oklch */ color: oklch(54.2% 0.230 317.3);
Tailwind
colors: {
  custom: {
    50: '#c272d7',
    500: '#a22bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a22bc4;
$custom-light: #c272d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bc4",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 286.667,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.23008,
    "h": 317.3
  },
  "luminance": 0.13395
}

Semantic roles & 50–950 ramp

primary
#A22BC4
secondary
#8FCE7D
accent
#E74166
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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