#A42894#A42894

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

Color values

HEX#A42894
RGBrgb(164, 40, 148)
HSLhsl(308, 61%, 40%)
HSVhsv(308, 76%, 64%)
CMYKcmyk(0%, 75.6%, 9.8%, 35.7%)
CIE-LABlab(40.49, 60.75, -31.45)
CIE-LCHlch(40.49, 68.40, 332.63°)
OKLaboklab(51.3% 0.1763 -0.0862)
OKLCHoklch(51.3% 0.196 333.9)
XYZxyz(21.4141, 11.5501, 29.1128)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42894 #28A438
analogous
#7628A4 #A42894 #A42856
triadic
#A42894 #94A428 #2894A4
tetradic
#A42894 #A47628 #28A438 #2856A4
square
#A42894 #A47628 #28A438 #2856A4
split-complementary
#A42894 #56A428 #28A476
monochromatic
#42103B #731C68 #A42894 #CF3ABC #DB6BCD

Accessibility & contrast

On white

6.35
#A42894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42894
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42894#FFFFFF#000000##FFFFFF
##A428941.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42894;
/* rgb */ color: rgb(164, 40, 148);
/* oklch */ color: oklch(51.3% 0.196 333.9);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a42894',
    950: '#000000',
  },
}
SCSS
$custom: #a42894;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42894",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 307.742,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.1962,
    "h": 333.9
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#A42894
secondary
#66C172
accent
#E45944
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42894

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

Preview Lab → · Contrast checker → · Palette generator →

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