#A42196#A42196

#A42196 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.204 H 333.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A42196
RGBrgb(164, 33, 150)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 80%, 64%)
CMYKcmyk(0%, 79.9%, 8.5%, 35.7%)
CIE-LABlab(39.89, 63.08, -33.61)
CIE-LCHlch(39.89, 71.48, 331.95°)
OKLaboklab(50.9% 0.1823 -0.0924)
OKLCHoklch(50.9% 0.204 333.1)
XYZxyz(21.3589, 11.1841, 29.8821)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42196 #21A42F
analogous
#7021A4 #A42196 #A42154
triadic
#A42196 #96A421 #2196A4
tetradic
#A42196 #A47021 #21A42F #2154A4
square
#A42196 #A47021 #21A42F #2154A4
split-complementary
#A42196 #54A421 #21A470
monochromatic
#3E0C39 #711767 #A42196 #D52DC3 #DF60D2

Accessibility & contrast

On white

6.49
#A42196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42196
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42196#FFFFFF#000000##FFFFFF
##A421961.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#AC305B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42196;
/* rgb */ color: rgb(164, 33, 150);
/* oklch */ color: oklch(50.9% 0.204 333.1);
Tailwind
colors: {
  custom: {
    50: '#c36db5',
    500: '#a42196',
    950: '#000000',
  },
}
SCSS
$custom: #a42196;
$custom-light: #c36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42196",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 306.412,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.20439,
    "h": 333.1
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#A42196
secondary
#5DC468
accent
#E9513E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42196

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

Preview Lab → · Contrast checker → · Palette generator →

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