#A42D9A#A42D9A

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

Color values

HEX#A42D9A
RGBrgb(164, 45, 154)
HSLhsl(305, 57%, 41%)
HSVhsv(305, 73%, 64%)
CMYKcmyk(0%, 72.6%, 6.1%, 35.7%)
CIE-LABlab(41.38, 60.04, -33.68)
CIE-LCHlch(41.38, 68.84, 330.71°)
OKLaboklab(52.04% 0.1718 -0.0926)
OKLCHoklch(52.04% 0.195 331.7)
XYZxyz(22.0810, 12.1042, 31.7390)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D9A #2DA437
analogous
#722DA4 #A42D9A #A42D5E
triadic
#A42D9A #9AA42D #2D9AA4
tetradic
#A42D9A #A4722D #2DA437 #2D5EA4
square
#A42D9A #A4722D #2DA437 #2D5EA4
split-complementary
#A42D9A #5EA42D #2DA472
monochromatic
#441340 #74206D #A42D9A #CB43C0 #D973D0

Accessibility & contrast

On white

6.14
#A42D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A42D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D9A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D9A#FFFFFF#000000##FFFFFF
##A42D9A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#AB3A60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42d9a;
/* rgb */ color: rgb(164, 45, 154);
/* oklch */ color: oklch(52.0% 0.195 331.7);
Tailwind
colors: {
  custom: {
    50: '#c372b8',
    500: '#a42d9a',
    950: '#000000',
  },
}
SCSS
$custom: #a42d9a;
$custom-light: #c372b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d9a",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 305.042,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5204,
    "c": 0.19519,
    "h": 331.7
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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