#A42197#A42197

#A42197 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.205 H 332.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A42197
RGBrgb(164, 33, 151)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 80%, 64%)
CMYKcmyk(0%, 79.9%, 7.9%, 35.7%)
CIE-LABlab(39.94, 63.23, -34.13)
CIE-LCHlch(39.94, 71.86, 331.64°)
OKLaboklab(50.96% 0.1824 -0.0939)
OKLCHoklch(50.96% 0.205 332.8)
XYZxyz(21.4397, 11.2165, 30.3080)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42197 #21A42E
analogous
#6F21A4 #A42197 #A42155
triadic
#A42197 #97A421 #2197A4
tetradic
#A42197 #A46F21 #21A42E #2155A4
square
#A42197 #A46F21 #21A42E #2155A4
split-complementary
#A42197 #55A421 #21A46F
monochromatic
#3E0C39 #711768 #A42197 #D52DC4 #DF60D2

Accessibility & contrast

On white

6.48
#A42197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42197
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42197#FFFFFF#000000##FFFFFF
##A421971.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#4F6594
Tritanopia (blue-blind)
#AB315C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42197;
/* rgb */ color: rgb(164, 33, 151);
/* oklch */ color: oklch(51.0% 0.205 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36db6',
    500: '#a42197',
    950: '#000000',
  },
}
SCSS
$custom: #a42197;
$custom-light: #c36db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42197",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 305.954,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.20509,
    "h": 332.8
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#A42197
secondary
#5DC467
accent
#E94F3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42197

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

Preview Lab → · Contrast checker → · Palette generator →

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