#A22FA3#A22FA3

#A22FA3 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.199 H 327.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A22FA3
RGBrgb(162, 47, 163)
HSLhsl(299, 55%, 41%)
HSVhsv(299, 71%, 64%)
CMYKcmyk(0.6%, 71.2%, 0%, 36.1%)
CIE-LABlab(41.78, 60.36, -38.47)
CIE-LCHlch(41.78, 71.58, 327.49°)
OKLaboklab(52.42% 0.1679 -0.1066)
OKLCHoklch(52.42% 0.199 327.6)
XYZxyz(22.5273, 12.3603, 35.8425)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22FA3 #30A32F
analogous
#682FA3 #A22FA3 #A32F6A
triadic
#A22FA3 #A3A22F #2FA3A2
tetradic
#A22FA3 #A3682F #30A32F #2F6AA3
square
#A22FA3 #A3682F #30A32F #2F6AA3
split-complementary
#A22FA3 #6AA32F #2FA368
monochromatic
#441444 #732173 #A22FA3 #C846CA #D675D7

Accessibility & contrast

On white

6.05
#A22FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A22FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22FA3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22FA3#FFFFFF#000000##FFFFFF
##A22FA31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1959A6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#A74166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a22fa3;
/* rgb */ color: rgb(162, 47, 163);
/* oklch */ color: oklch(52.4% 0.199 327.6);
Tailwind
colors: {
  custom: {
    50: '#c173bf',
    500: '#a22fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a22fa3;
$custom-light: #c173bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a22fa3",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 299.483,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.19887,
    "h": 327.6
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#A22FA3
secondary
#6FBF6F
accent
#DF494B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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