#A42297#A42297

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

Color values

HEX#A42297
RGBrgb(164, 34, 151)
HSLhsl(306, 66%, 39%)
HSVhsv(306, 79%, 64%)
CMYKcmyk(0%, 79.3%, 7.9%, 35.7%)
CIE-LABlab(40.04, 62.96, -33.99)
CIE-LCHlch(40.04, 71.55, 331.64°)
OKLaboklab(51.02% 0.1816 -0.0934)
OKLCHoklch(51.02% 0.204 332.8)
XYZxyz(21.4679, 11.2728, 30.3174)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42297 #22A42F
analogous
#7022A4 #A42297 #A42256
triadic
#A42297 #97A422 #2297A4
tetradic
#A42297 #A47022 #22A42F #2256A4
square
#A42297 #A47022 #22A42F #2256A4
split-complementary
#A42297 #56A422 #22A470
monochromatic
#3F0D3A #711768 #A42297 #D42FC3 #DE62D2

Accessibility & contrast

On white

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

On black

3.25
#A42297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A42297#FFFFFF#000000##FFFFFF
##A422971.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#AB325C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42297;
/* rgb */ color: rgb(164, 34, 151);
/* oklch */ color: oklch(51.0% 0.204 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36db6',
    500: '#a42297',
    950: '#000000',
  },
}
SCSS
$custom: #a42297;
$custom-light: #c36db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a42297",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 306,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.2042,
    "h": 332.8
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#A42297
secondary
#5EC468
accent
#E9503F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42297

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

Preview Lab → · Contrast checker → · Palette generator →

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