#A42097#A42097

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

Color values

HEX#A42097
RGBrgb(164, 32, 151)
HSLhsl(306, 67%, 38%)
HSVhsv(306, 80%, 64%)
CMYKcmyk(0%, 80.5%, 7.9%, 35.7%)
CIE-LABlab(39.85, 63.50, -34.28)
CIE-LCHlch(39.85, 72.16, 331.64°)
OKLaboklab(50.89% 0.1831 -0.0943)
OKLCHoklch(50.89% 0.206 332.8)
XYZxyz(21.4124, 11.1618, 30.2989)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42097 #20A42D
analogous
#6F20A4 #A42097 #A42055
triadic
#A42097 #97A420 #2097A4
tetradic
#A42097 #A46F20 #20A42D #2055A4
square
#A42097 #A46F20 #20A42D #2055A4
split-complementary
#A42097 #55A420 #20A46F
monochromatic
#3E0C39 #711668 #A42097 #D62BC5 #E05FD3

Accessibility & contrast

On white

6.50
#A42097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A42097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42097
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42097#FFFFFF#000000##FFFFFF
##A420971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#AB305B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42097;
/* rgb */ color: rgb(164, 32, 151);
/* oklch */ color: oklch(50.9% 0.206 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36db6',
    500: '#a42097',
    950: '#000000',
  },
}
SCSS
$custom: #a42097;
$custom-light: #c36db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42097",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 305.909,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.20597,
    "h": 332.8
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#A42097
secondary
#5CC466
accent
#EA4F3E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42097

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

Preview Lab → · Contrast checker → · Palette generator →

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