#A42D99#A42D99

#A42D99 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.194 H 332.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A42D99
RGBrgb(164, 45, 153)
HSLhsl(306, 57%, 41%)
HSVhsv(306, 73%, 64%)
CMYKcmyk(0%, 72.6%, 6.7%, 35.7%)
CIE-LABlab(41.33, 59.88, -33.16)
CIE-LCHlch(41.33, 68.45, 331.03°)
OKLaboklab(51.99% 0.1718 -0.0911)
OKLCHoklch(51.99% 0.194 332)
XYZxyz(21.9980, 12.0710, 31.3022)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D99 #2DA438
analogous
#732DA4 #A42D99 #A42D5D
triadic
#A42D99 #99A42D #2D99A4
tetradic
#A42D99 #A4732D #2DA438 #2D5DA4
square
#A42D99 #A4732D #2DA438 #2D5DA4
split-complementary
#A42D99 #5DA42D #2DA473
monochromatic
#44133F #74206C #A42D99 #CB43BF #D973CF

Accessibility & contrast

On white

6.15
#A42D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A42D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D99
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D99#FFFFFF#000000##FFFFFF
##A42D991.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#AB3A60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42d99;
/* rgb */ color: rgb(164, 45, 153);
/* oklch */ color: oklch(52.0% 0.194 332.0);
Tailwind
colors: {
  custom: {
    50: '#c372b7',
    500: '#a42d99',
    950: '#000000',
  },
}
SCSS
$custom: #a42d99;
$custom-light: #c372b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d99",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 305.546,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.19443,
    "h": 332
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#A42D99
secondary
#6DC074
accent
#E05648
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A42D99

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

Preview Lab → · Contrast checker → · Palette generator →

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