#A42D94#A42D94

#A42D94 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.191 H 334.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A42D94
RGBrgb(164, 45, 148)
HSLhsl(308, 57%, 41%)
HSVhsv(308, 73%, 64%)
CMYKcmyk(0%, 72.6%, 9.8%, 35.7%)
CIE-LABlab(41.07, 59.10, -30.54)
CIE-LCHlch(41.07, 66.52, 332.67°)
OKLaboklab(51.72% 0.1714 -0.0836)
OKLCHoklch(51.72% 0.191 334)
XYZxyz(21.5937, 11.9092, 29.1727)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D94 #2DA43D
analogous
#782DA4 #A42D94 #A42D58
triadic
#A42D94 #94A42D #2D94A4
tetradic
#A42D94 #A4782D #2DA43D #2D58A4
square
#A42D94 #A4782D #2DA43D #2D58A4
split-complementary
#A42D94 #58A42D #2DA478
monochromatic
#44133D #742069 #A42D94 #CB43B9 #D973CB

Accessibility & contrast

On white

6.21
#A42D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A42D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D94
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D94#FFFFFF#000000##FFFFFF
##A42D941.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5697
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#AC385D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d94;
/* rgb */ color: rgb(164, 45, 148);
/* oklch */ color: oklch(51.7% 0.191 334.0);
Tailwind
colors: {
  custom: {
    50: '#c372b4',
    500: '#a42d94',
    950: '#000000',
  },
}
SCSS
$custom: #a42d94;
$custom-light: #c372b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d94",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 308.067,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.19071,
    "h": 334
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#A42D94
secondary
#6DC078
accent
#E05C48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D94

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

Preview Lab → · Contrast checker → · Palette generator →

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