#A42C94#A42C94

#A42C94 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.192 H 334.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A42C94
RGBrgb(164, 44, 148)
HSLhsl(308, 58%, 41%)
HSVhsv(308, 73%, 64%)
CMYKcmyk(0%, 73.2%, 9.8%, 35.7%)
CIE-LABlab(40.95, 59.44, -30.72)
CIE-LCHlch(40.95, 66.91, 332.66°)
OKLaboklab(51.63% 0.1724 -0.0841)
OKLCHoklch(51.63% 0.192 334)
XYZxyz(21.5560, 11.8338, 29.1601)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C94 #2CA43C
analogous
#782CA4 #A42C94 #A42C58
triadic
#A42C94 #94A42C #2C94A4
tetradic
#A42C94 #A4782C #2CA43C #2C58A4
square
#A42C94 #A4782C #2CA43C #2C58A4
split-complementary
#A42C94 #58A42C #2CA478
monochromatic
#43123D #741F68 #A42C94 #CC41BA #D971CB

Accessibility & contrast

On white

6.24
#A42C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A42C94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C94
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C94#FFFFFF#000000##FFFFFF
##A42C941.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#AC375D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42c94;
/* rgb */ color: rgb(164, 44, 148);
/* oklch */ color: oklch(51.6% 0.192 334.0);
Tailwind
colors: {
  custom: {
    50: '#c371b4',
    500: '#a42c94',
    950: '#000000',
  },
}
SCSS
$custom: #a42c94;
$custom-light: #c371b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c94",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 308,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.19185,
    "h": 334
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#A42C94
secondary
#6BC077
accent
#E15B47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42C94

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

Preview Lab → · Contrast checker → · Palette generator →

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