#A42A94#A42A94

#A42A94 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.194 H 334.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A42A94
RGBrgb(164, 42, 148)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 74%, 64%)
CMYKcmyk(0%, 74.4%, 9.8%, 35.7%)
CIE-LABlab(40.72, 60.10, -31.09)
CIE-LCHlch(40.72, 67.67, 332.65°)
OKLaboklab(51.46% 0.1744 -0.0852)
OKLCHoklch(51.46% 0.194 334)
XYZxyz(21.4833, 11.6884, 29.1359)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A94 #2AA43A
analogous
#772AA4 #A42A94 #A42A57
triadic
#A42A94 #94A42A #2A94A4
tetradic
#A42A94 #A4772A #2AA43A #2A57A4
square
#A42A94 #A4772A #2AA43A #2A57A4
split-complementary
#A42A94 #57A42A #2AA477
monochromatic
#43113C #731E68 #A42A94 #CD3EBB #DA6ECC

Accessibility & contrast

On white

6.29
#A42A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A42A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A94
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A94#FFFFFF#000000##FFFFFF
##A42A941.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275597
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#AC355C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42a94;
/* rgb */ color: rgb(164, 42, 148);
/* oklch */ color: oklch(51.5% 0.194 334.0);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a42a94',
    950: '#000000',
  },
}
SCSS
$custom: #a42a94;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a94",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 307.869,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.19407,
    "h": 334
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#A42A94
secondary
#69C174
accent
#E25A45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A94

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

Preview Lab → · Contrast checker → · Palette generator →

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