#A22FC1#A22FC1

#A22FC1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.224 H 317.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A22FC1
RGBrgb(162, 47, 193)
HSLhsl(287, 61%, 47%)
HSVhsv(287, 76%, 76%)
CMYKcmyk(16.1%, 75.6%, 0%, 24.3%)
CIE-LABlab(43.60, 65.74, -53.28)
CIE-LCHlch(43.60, 84.62, 320.98°)
OKLaboklab(54.3% 0.1661 -0.1498)
OKLCHoklch(54.3% 0.224 317.9)
XYZxyz(25.5411, 13.5658, 51.7148)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FC1 #4EC12F
analogous
#592FC1 #A22FC1 #C12F97
triadic
#A22FC1 #C1A22F #2FC1A2
tetradic
#A22FC1 #C1592F #4EC12F #2F97C1
square
#A22FC1 #C1592F #4EC12F #2F97C1
split-complementary
#A22FC1 #97C12F #2FC159
monochromatic
#4F175F #792390 #A22FC1 #BB57D6 #CF88E2

Accessibility & contrast

On white

5.66
#A22FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A22FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FC1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FC1#FFFFFF#000000##FFFFFF
##A22FC11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#A14E77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22fc1;
/* rgb */ color: rgb(162, 47, 193);
/* oklch */ color: oklch(54.3% 0.224 317.9);
Tailwind
colors: {
  custom: {
    50: '#c274d4',
    500: '#a22fc1',
    950: '#000000',
  },
}
SCSS
$custom: #a22fc1;
$custom-light: #c274d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fc1",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 287.26,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.22369,
    "h": 317.9
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#A22FC1
secondary
#90CC80
accent
#E44466
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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