#A2249A#A2249A

#A2249A is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.204 H 331.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A2249A
RGBrgb(162, 36, 154)
HSLhsl(304, 64%, 39%)
HSVhsv(304, 78%, 64%)
CMYKcmyk(0%, 77.8%, 4.9%, 36.5%)
CIE-LABlab(40.04, 62.43, -35.81)
CIE-LCHlch(40.04, 71.98, 330.16°)
OKLaboklab(51.02% 0.1779 -0.0988)
OKLCHoklch(51.02% 0.204 331)
XYZxyz(21.3639, 11.2780, 31.6173)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2249A #24A22C
analogous
#6B24A2 #A2249A #A2245B
triadic
#A2249A #9AA224 #249AA2
tetradic
#A2249A #A26B24 #24A22C #245BA2
square
#A2249A #A26B24 #24A22C #245BA2
split-complementary
#A2249A #5BA224 #24A26B
monochromatic
#3E0E3B #70196A #A2249A #D132C7 #DD64D5

Accessibility & contrast

On white

6.45
#A2249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A2249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2249A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2249A#FFFFFF#000000##FFFFFF
##A2249A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539D
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#A9355E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2249a;
/* rgb */ color: rgb(162, 36, 154);
/* oklch */ color: oklch(51.0% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#c16eb8',
    500: '#a2249a',
    950: '#000000',
  },
}
SCSS
$custom: #a2249a;
$custom-light: #c16eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2249a",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 303.81,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.20352,
    "h": 331
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#A2249A
secondary
#60C266
accent
#E74C41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2249A

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

Preview Lab → · Contrast checker → · Palette generator →

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