#A42DA4#A42DA4

#A42DA4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.203 H 328.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A42DA4
RGBrgb(164, 45, 164)
HSLhsl(300, 57%, 41%)
HSVhsv(300, 73%, 64%)
CMYKcmyk(0%, 72.6%, 0%, 35.7%)
CIE-LABlab(41.92, 61.67, -38.82)
CIE-LCHlch(41.92, 72.87, 327.81°)
OKLaboklab(52.61% 0.1721 -0.1075)
OKLCHoklch(52.61% 0.203 328)
XYZxyz(22.9488, 12.4513, 36.3094)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DA4 #2DA42D
analogous
#682DA4 #A42DA4 #A42D68
triadic
#A42DA4 #A4A42D #2DA4A4
tetradic
#A42DA4 #A4682D #2DA42D #2D68A4
square
#A42DA4 #A4682D #2DA42D #2D68A4
split-complementary
#A42DA4 #68A42D #2DA468
monochromatic
#441344 #742074 #A42DA4 #CB43CB #D973D9

Accessibility & contrast

On white

6.02
#A42DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A42DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DA4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DA4#FFFFFF#000000##FFFFFF
##A42DA41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#A93F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42da4;
/* rgb */ color: rgb(164, 45, 164);
/* oklch */ color: oklch(52.6% 0.203 328.0);
Tailwind
colors: {
  custom: {
    50: '#c372bf',
    500: '#a42da4',
    950: '#000000',
  },
}
SCSS
$custom: #a42da4;
$custom-light: #c372bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42da4",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.20289,
    "h": 328
  },
  "luminance": 0.1245
}

Semantic roles & 50–950 ramp

primary
#A42DA4
secondary
#6DC06D
accent
#E04848
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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