#A22FA1#A22FA1

#A22FA1 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 328.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A22FA1
RGBrgb(162, 47, 161)
HSLhsl(301, 55%, 41%)
HSVhsv(301, 71%, 64%)
CMYKcmyk(0%, 71%, 0.6%, 36.5%)
CIE-LABlab(41.67, 60.03, -37.45)
CIE-LCHlch(41.67, 70.75, 328.04°)
OKLaboklab(52.31% 0.1679 -0.1036)
OKLCHoklch(52.31% 0.197 328.3)
XYZxyz(22.3496, 12.2892, 34.9062)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FA1 #2FA230
analogous
#692FA2 #A22FA1 #A22F67
triadic
#A22FA1 #A1A22F #2FA1A2
tetradic
#A22FA1 #A2692F #2FA230 #2F67A2
square
#A22FA1 #A2692F #2FA230 #2F67A2
split-complementary
#A22FA1 #67A22F #2FA269
monochromatic
#431343 #732172 #A22FA1 #C945C8 #D775D6

Accessibility & contrast

On white

6.07
#A22FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A22FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FA1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FA1#FFFFFF#000000##FFFFFF
##A22FA11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#A74065
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22fa1;
/* rgb */ color: rgb(162, 47, 161);
/* oklch */ color: oklch(52.3% 0.197 328.3);
Tailwind
colors: {
  custom: {
    50: '#c173bd',
    500: '#a22fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a22fa1;
$custom-light: #c173bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fa1",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 300.522,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.19728,
    "h": 328.3
  },
  "luminance": 0.12288
}

Semantic roles & 50–950 ramp

primary
#A22FA1
secondary
#6EBF6F
accent
#DE4B49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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