#A224A1#A224A1

#A224A1 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.209 H 328.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A224A1
RGBrgb(162, 36, 161)
HSLhsl(300, 64%, 39%)
HSVhsv(300, 78%, 64%)
CMYKcmyk(0%, 77.8%, 0.6%, 36.5%)
CIE-LABlab(40.44, 63.55, -39.40)
CIE-LCHlch(40.44, 74.78, 328.20°)
OKLaboklab(51.43% 0.1779 -0.1092)
OKLCHoklch(51.43% 0.209 328.5)
XYZxyz(21.9640, 11.5180, 34.7777)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A224A1 #24A225
analogous
#6424A2 #A224A1 #A22462
triadic
#A224A1 #A1A224 #24A1A2
tetradic
#A224A1 #A26424 #24A225 #2462A2
square
#A224A1 #A26424 #24A225 #2462A2
split-complementary
#A224A1 #62A224 #24A264
monochromatic
#3E0E3D #70196F #A224A1 #D132D0 #DD64DC

Accessibility & contrast

On white

6.36
#A224A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A224A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A224A1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A224A1#FFFFFF#000000##FFFFFF
##A224A11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A4
Deuteranopia (green-blind)
#49659E
Tritanopia (blue-blind)
#A73962
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a224a1;
/* rgb */ color: rgb(162, 36, 161);
/* oklch */ color: oklch(51.4% 0.209 328.5);
Tailwind
colors: {
  custom: {
    50: '#c16ebd',
    500: '#a224a1',
    950: '#000000',
  },
}
SCSS
$custom: #a224a1;
$custom-light: #c16ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a224a1",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 300.476,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.20874,
    "h": 328.5
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#A224A1
secondary
#60C261
accent
#E74241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A224A1

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

Preview Lab → · Contrast checker → · Palette generator →

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