#A22CA0#A22CA0

#A22CA0 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 52.0% C 0.200 H 328.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A22CA0
RGBrgb(162, 44, 160)
HSLhsl(301, 57%, 40%)
HSVhsv(301, 73%, 64%)
CMYKcmyk(0%, 72.8%, 1.2%, 36.5%)
CIE-LABlab(41.25, 60.90, -37.51)
CIE-LCHlch(41.25, 71.52, 328.37°)
OKLaboklab(51.99% 0.1708 -0.1038)
OKLCHoklch(51.99% 0.2 328.7)
XYZxyz(22.1459, 12.0224, 34.4050)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA0 #2CA22E
analogous
#692CA2 #A22CA0 #A22C65
triadic
#A22CA0 #A0A22C #2CA0A2
tetradic
#A22CA0 #A2692C #2CA22E #2C65A2
square
#A22CA0 #A2692C #2CA22E #2C65A2
split-complementary
#A22CA0 #65A22C #2CA269
monochromatic
#421241 #721F70 #A22CA0 #CB40C9 #D870D6

Accessibility & contrast

On white

6.17
#A22CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A22CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA0#FFFFFF#000000##FFFFFF
##A22CA01.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#4D679D
Tritanopia (blue-blind)
#A73D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22ca0;
/* rgb */ color: rgb(162, 44, 160);
/* oklch */ color: oklch(52.0% 0.200 328.7);
Tailwind
colors: {
  custom: {
    50: '#c171bc',
    500: '#a22ca0',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca0;
$custom-light: #c171bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca0",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 301.017,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.19987,
    "h": 328.7
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#A22CA0
secondary
#6ABF6C
accent
#E14A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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