#A22CA7#A22CA7

#A22CA7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.205 H 326.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A22CA7
RGBrgb(162, 44, 167)
HSLhsl(298, 58%, 41%)
HSVhsv(298, 74%, 65%)
CMYKcmyk(3%, 73.7%, 0%, 34.5%)
CIE-LABlab(41.65, 62.08, -41.07)
CIE-LCHlch(41.65, 74.43, 326.51°)
OKLaboklab(52.4% 0.1708 -0.1141)
OKLCHoklch(52.4% 0.205 326.2)
XYZxyz(22.7756, 12.2743, 37.7213)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22CA7 #31A72C
analogous
#652CA7 #A22CA7 #A72C6F
triadic
#A22CA7 #A7A22C #2CA7A2
tetradic
#A22CA7 #A7652C #31A72C #2C6FA7
square
#A22CA7 #A7652C #31A72C #2C6FA7
split-complementary
#A22CA7 #6FA72C #2CA765
monochromatic
#441246 #731F77 #A22CA7 #C843CD #D673DA

Accessibility & contrast

On white

6.08
#A22CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A22CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22CA7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22CA7#FFFFFF#000000##FFFFFF
##A22CA71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0859AA
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#A64167
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ca7;
/* rgb */ color: rgb(162, 44, 167);
/* oklch */ color: oklch(52.4% 0.205 326.2);
Tailwind
colors: {
  custom: {
    50: '#c172c2',
    500: '#a22ca7',
    950: '#000000',
  },
}
SCSS
$custom: #a22ca7;
$custom-light: #c172c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ca7",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 297.561,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.20539,
    "h": 326.2
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#A22CA7
secondary
#71C26D
accent
#E2464D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A22CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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