#A22FC3#A22FC3

#A22FC3 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.225 H 317.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A22FC3
RGBrgb(162, 47, 195)
HSLhsl(287, 61%, 47%)
HSVhsv(287, 76%, 76%)
CMYKcmyk(16.9%, 75.9%, 0%, 23.5%)
CIE-LABlab(43.74, 66.12, -54.23)
CIE-LCHlch(43.74, 85.52, 320.64°)
OKLaboklab(54.44% 0.1658 -0.1526)
OKLCHoklch(54.44% 0.225 317.4)
XYZxyz(25.7657, 13.6557, 52.8978)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FC3 #50C32F
analogous
#582FC3 #A22FC3 #C32F9A
triadic
#A22FC3 #C3A22F #2FC3A2
tetradic
#A22FC3 #C3582F #50C32F #2F9AC3
square
#A22FC3 #C3582F #50C32F #2F9AC3
split-complementary
#A22FC3 #9AC32F #2FC358
monochromatic
#501760 #792392 #A22FC3 #BB58D7 #CF8AE3

Accessibility & contrast

On white

5.63
#A22FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A22FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FC3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FC3#FFFFFF#000000##FFFFFF
##A22FC31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#336BC0
Tritanopia (blue-blind)
#A04F78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22fc3;
/* rgb */ color: rgb(162, 47, 195);
/* oklch */ color: oklch(54.4% 0.225 317.4);
Tailwind
colors: {
  custom: {
    50: '#c274d6',
    500: '#a22fc3',
    950: '#000000',
  },
}
SCSS
$custom: #a22fc3;
$custom-light: #c274d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fc3",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 286.622,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.22539,
    "h": 317.4
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#A22FC3
secondary
#92CD81
accent
#E44467
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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