#A221C3#A221C3

#A221C3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.238 H 317.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A221C3
RGBrgb(162, 33, 195)
HSLhsl(288, 71%, 45%)
HSVhsv(288, 83%, 76%)
CMYKcmyk(16.9%, 83.1%, 0%, 23.5%)
CIE-LABlab(42.32, 70.21, -56.51)
CIE-LCHlch(42.32, 90.13, 321.17°)
OKLaboklab(53.44% 0.1764 -0.1592)
OKLCHoklch(53.44% 0.238 317.9)
XYZxyz(25.2931, 12.7104, 52.7402)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A221C3 #42C321
analogous
#5121C3 #A221C3 #C32193
triadic
#A221C3 #C3A221 #21C3A2
tetradic
#A221C3 #C35121 #42C321 #2193C3
square
#A221C3 #C35121 #42C321 #2193C3
split-complementary
#A221C3 #93C321 #21C351
monochromatic
#4B0F5A #77188F #A221C3 #BF42DF #D177E8

Accessibility & contrast

On white

5.93
#A221C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A221C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A221C3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A221C3#FFFFFF#000000##FFFFFF
##A221C31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#A14975
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a221c3;
/* rgb */ color: rgb(162, 33, 195);
/* oklch */ color: oklch(53.4% 0.238 317.9);
Tailwind
colors: {
  custom: {
    50: '#c26fd6',
    500: '#a221c3',
    950: '#000000',
  },
}
SCSS
$custom: #a221c3;
$custom-light: #c26fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a221c3",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 195
  },
  "hsl": {
    "h": 287.778,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.23761,
    "h": 317.9
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#A221C3
secondary
#84CF71
accent
#EE3A5F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #A221C3

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

Preview Lab → · Contrast checker → · Palette generator →

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