#A22CA2#A22CA2

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

Color values

HEX#A22CA2
RGBrgb(162, 44, 162)
HSLhsl(300, 57%, 40%)
HSVhsv(300, 73%, 64%)
CMYKcmyk(0%, 72.8%, 0%, 36.5%)
CIE-LABlab(41.36, 61.23, -38.54)
CIE-LCHlch(41.36, 72.35, 327.82°)
OKLaboklab(52.1% 0.1708 -0.1067)
OKLCHoklch(52.1% 0.201 328)
XYZxyz(22.3223, 12.0930, 35.3339)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA2 #2CA22C
analogous
#672CA2 #A22CA2 #A22C67
triadic
#A22CA2 #A2A22C #2CA2A2
tetradic
#A22CA2 #A2672C #2CA22C #2C67A2
square
#A22CA2 #A2672C #2CA22C #2C67A2
split-complementary
#A22CA2 #67A22C #2CA267
monochromatic
#421242 #721F72 #A22CA2 #CB40CB #D870D8

Accessibility & contrast

On white

6.14
#A22CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A22CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA2#FFFFFF#000000##FFFFFF
##A22CA21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A73E65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ca2;
/* rgb */ color: rgb(162, 44, 162);
/* oklch */ color: oklch(52.1% 0.201 328.0);
Tailwind
colors: {
  custom: {
    50: '#c171be',
    500: '#a22ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca2;
$custom-light: #c171be;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca2",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.20143,
    "h": 328
  },
  "luminance": 0.12091
}

Semantic roles & 50–950 ramp

primary
#A22CA2
secondary
#6ABF6A
accent
#E14747
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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