#A22FC4#A22FC4

#A22FC4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.226 H 317.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A22FC4
RGBrgb(162, 47, 196)
HSLhsl(286, 61%, 48%)
HSVhsv(286, 76%, 77%)
CMYKcmyk(17.3%, 76%, 0%, 23.1%)
CIE-LABlab(43.80, 66.31, -54.71)
CIE-LCHlch(43.80, 85.96, 320.47°)
OKLaboklab(54.51% 0.1657 -0.154)
OKLCHoklch(54.51% 0.226 317.1)
XYZxyz(25.8791, 13.7011, 53.4952)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FC4 #51C42F
analogous
#582FC4 #A22FC4 #C42F9B
triadic
#A22FC4 #C4A22F #2FC4A2
tetradic
#A22FC4 #C4582F #51C42F #2F9BC4
square
#A22FC4 #C4582F #51C42F #2F9BC4
split-complementary
#A22FC4 #9BC42F #2FC458
monochromatic
#501761 #792393 #A22FC4 #BA59D7 #CF8AE3

Accessibility & contrast

On white

5.61
#A22FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A22FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FC4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FC4#FFFFFF#000000##FFFFFF
##A22FC41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#A05078
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a22fc4;
/* rgb */ color: rgb(162, 47, 196);
/* oklch */ color: oklch(54.5% 0.226 317.1);
Tailwind
colors: {
  custom: {
    50: '#c274d7',
    500: '#a22fc4',
    950: '#000000',
  },
}
SCSS
$custom: #a22fc4;
$custom-light: #c274d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fc4",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 286.309,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.22623,
    "h": 317.1
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#A22FC4
secondary
#93CD82
accent
#E44368
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A22FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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