#A224A6#A224A6

#A224A6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.213 H 326.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A224A6
RGBrgb(162, 36, 166)
HSLhsl(298, 64%, 40%)
HSVhsv(298, 78%, 65%)
CMYKcmyk(2.4%, 78.3%, 0%, 34.9%)
CIE-LABlab(40.73, 64.37, -41.94)
CIE-LCHlch(40.73, 76.83, 326.92°)
OKLaboklab(51.73% 0.1777 -0.1166)
OKLCHoklch(51.73% 0.213 326.7)
XYZxyz(22.4137, 11.6979, 37.1464)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A224A6 #28A624
analogous
#6124A6 #A224A6 #A62469
triadic
#A224A6 #A6A224 #24A6A2
tetradic
#A224A6 #A66124 #28A624 #2469A6
square
#A224A6 #A66124 #28A624 #2469A6
split-complementary
#A224A6 #69A624 #24A661
monochromatic
#400E41 #711974 #A224A6 #CE34D3 #DA66DE

Accessibility & contrast

On white

6.29
#A224A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A224A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A224A6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A224A6#FFFFFF#000000##FFFFFF
##A224A61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#A73B65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a224a6;
/* rgb */ color: rgb(162, 36, 166);
/* oklch */ color: oklch(51.7% 0.213 326.7);
Tailwind
colors: {
  custom: {
    50: '#c16ec1',
    500: '#a224a6',
    950: '#000000',
  },
}
SCSS
$custom: #a224a6;
$custom-light: #c16ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a224a6",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 298.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.21253,
    "h": 326.7
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#A224A6
secondary
#65C462
accent
#E74046
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A224A6

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

Preview Lab → · Contrast checker → · Palette generator →

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