#A42899#A42899

#A42899 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.200 H 332.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A42899
RGBrgb(164, 40, 153)
HSLhsl(305, 61%, 40%)
HSVhsv(305, 76%, 64%)
CMYKcmyk(0%, 75.6%, 6.7%, 35.7%)
CIE-LABlab(40.75, 61.52, -34.06)
CIE-LCHlch(40.75, 70.32, 331.03°)
OKLaboklab(51.57% 0.1765 -0.0937)
OKLCHoklch(51.57% 0.2 332)
XYZxyz(21.8185, 11.7118, 31.2423)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42899 #28A433
analogous
#7128A4 #A42899 #A4285B
triadic
#A42899 #99A428 #2899A4
tetradic
#A42899 #A47128 #28A433 #285BA4
square
#A42899 #A47128 #28A433 #285BA4
split-complementary
#A42899 #5BA428 #28A471
monochromatic
#42103D #731C6B #A42899 #CF3AC2 #DB6BD1

Accessibility & contrast

On white

6.28
#A42899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42899
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42899#FFFFFF#000000##FFFFFF
##A428991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#AB375F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42899;
/* rgb */ color: rgb(164, 40, 153);
/* oklch */ color: oklch(51.6% 0.200 332.0);
Tailwind
colors: {
  custom: {
    50: '#c370b7',
    500: '#a42899',
    950: '#000000',
  },
}
SCSS
$custom: #a42899;
$custom-light: #c370b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a42899",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 305.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.19984,
    "h": 332
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#A42899
secondary
#66C16E
accent
#E45244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42899

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

Preview Lab → · Contrast checker → · Palette generator →

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