#A224A8#A224A8

#A224A8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.214 H 326.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A224A8
RGBrgb(162, 36, 168)
HSLhsl(297, 65%, 40%)
HSVhsv(297, 79%, 66%)
CMYKcmyk(3.6%, 78.6%, 0%, 34.1%)
CIE-LABlab(40.85, 64.71, -42.94)
CIE-LCHlch(40.85, 77.66, 326.43°)
OKLaboklab(51.85% 0.1776 -0.1195)
OKLCHoklch(51.85% 0.214 326.1)
XYZxyz(22.5986, 11.7719, 38.1201)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A224A8 #2AA824
analogous
#6024A8 #A224A8 #A8246C
triadic
#A224A8 #A8A224 #24A8A2
tetradic
#A224A8 #A86024 #2AA824 #246CA8
square
#A224A8 #A86024 #2AA824 #246CA8
split-complementary
#A224A8 #6CA824 #24A860
monochromatic
#410E43 #711976 #A224A8 #CD35D4 #D968DF

Accessibility & contrast

On white

6.26
#A224A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A224A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A224A8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A224A8#FFFFFF#000000##FFFFFF
##A224A81.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4466A5
Tritanopia (blue-blind)
#A63C66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a224a8;
/* rgb */ color: rgb(162, 36, 168);
/* oklch */ color: oklch(51.8% 0.214 326.1);
Tailwind
colors: {
  custom: {
    50: '#c26fc2',
    500: '#a224a8',
    950: '#000000',
  },
}
SCSS
$custom: #a224a8;
$custom-light: #c26fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a224a8",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 297.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.21406,
    "h": 326.1
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#A224A8
secondary
#68C463
accent
#E84048
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A224A8

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

Preview Lab → · Contrast checker → · Palette generator →

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