#A42396#A42396

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

Color values

HEX#A42396
RGBrgb(164, 35, 150)
HSLhsl(307, 65%, 39%)
HSVhsv(307, 79%, 64%)
CMYKcmyk(0%, 78.7%, 8.5%, 35.7%)
CIE-LABlab(40.08, 62.54, -33.31)
CIE-LCHlch(40.08, 70.86, 331.96°)
OKLaboklab(51.04% 0.1807 -0.0915)
OKLCHoklch(51.04% 0.203 333.1)
XYZxyz(21.4160, 11.2984, 29.9011)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42396 #23A431
analogous
#7223A4 #A42396 #A42356
triadic
#A42396 #96A423 #2396A4
tetradic
#A42396 #A47223 #23A431 #2356A4
square
#A42396 #A47223 #23A431 #2356A4
split-complementary
#A42396 #56A423 #23A472
monochromatic
#3F0D3A #721868 #A42396 #D331C1 #DE64D1

Accessibility & contrast

On white

6.44
#A42396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42396
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42396#FFFFFF#000000##FFFFFF
##A423961.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#AC325C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42396;
/* rgb */ color: rgb(164, 35, 150);
/* oklch */ color: oklch(51.0% 0.203 333.1);
Tailwind
colors: {
  custom: {
    50: '#c36eb5',
    500: '#a42396',
    950: '#000000',
  },
}
SCSS
$custom: #a42396;
$custom-light: #c36eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42396",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 306.512,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.20257,
    "h": 333.1
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#A42396
secondary
#60C36A
accent
#E85240
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42396

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

Preview Lab → · Contrast checker → · Palette generator →

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