#A42794#A42794

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

Color values

HEX#A42794
RGBrgb(164, 39, 148)
HSLhsl(308, 62%, 40%)
HSVhsv(308, 76%, 64%)
CMYKcmyk(0%, 76.2%, 9.8%, 35.7%)
CIE-LABlab(40.38, 61.06, -31.62)
CIE-LCHlch(40.38, 68.76, 332.62°)
OKLaboklab(51.22% 0.1772 -0.0867)
OKLCHoklch(51.22% 0.197 333.9)
XYZxyz(21.3809, 11.4835, 29.1017)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42794 #27A437
analogous
#7627A4 #A42794 #A42756
triadic
#A42794 #94A427 #2794A4
tetradic
#A42794 #A47627 #27A437 #2756A4
square
#A42794 #A47627 #27A437 #2756A4
split-complementary
#A42794 #56A427 #27A476
monochromatic
#410F3B #731B67 #A42794 #D038BC #DC6ACD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A42794#FFFFFF#000000##FFFFFF
##A427941.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)
#235497
Deuteranopia (green-blind)
#536691
Tritanopia (blue-blind)
#AC335B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42794;
/* rgb */ color: rgb(164, 39, 148);
/* oklch */ color: oklch(51.2% 0.197 333.9);
Tailwind
colors: {
  custom: {
    50: '#c36fb4',
    500: '#a42794',
    950: '#000000',
  },
}
SCSS
$custom: #a42794;
$custom-light: #c36fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42794",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 307.68,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.19724,
    "h": 333.9
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#A42794
secondary
#65C271
accent
#E55843
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42794

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

Preview Lab → · Contrast checker → · Palette generator →

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