#A42696#A42696

#A42696 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.200 H 333.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A42696
RGBrgb(164, 38, 150)
HSLhsl(307, 62%, 40%)
HSVhsv(307, 77%, 64%)
CMYKcmyk(0%, 76.8%, 8.5%, 35.7%)
CIE-LABlab(40.38, 61.67, -32.83)
CIE-LCHlch(40.38, 69.86, 331.97°)
OKLaboklab(51.25% 0.1782 -0.0901)
OKLCHoklch(51.25% 0.2 333.2)
XYZxyz(21.5081, 11.4826, 29.9318)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42696 #26A434
analogous
#7326A4 #A42696 #A42657
triadic
#A42696 #96A426 #2696A4
tetradic
#A42696 #A47326 #26A434 #2657A4
square
#A42696 #A47326 #26A434 #2657A4
split-complementary
#A42696 #57A426 #26A473
monochromatic
#410F3B #721A69 #A42696 #D137BF #DC68CF

Accessibility & contrast

On white

6.37
#A42696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A42696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42696
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42696#FFFFFF#000000##FFFFFF
##A426961.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#526593
Tritanopia (blue-blind)
#AC345C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42696;
/* rgb */ color: rgb(164, 38, 150);
/* oklch */ color: oklch(51.3% 0.200 333.2);
Tailwind
colors: {
  custom: {
    50: '#c36fb5',
    500: '#a42696',
    950: '#000000',
  },
}
SCSS
$custom: #a42696;
$custom-light: #c36fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42696",
  "rgb": {
    "r": 164,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 306.667,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51254,
    "c": 0.19968,
    "h": 333.2
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#A42696
secondary
#64C26E
accent
#E55442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42696

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

Preview Lab → · Contrast checker → · Palette generator →

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