#A42AA9#A42AA9

#A42AA9 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.210 H 326.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A42AA9
RGBrgb(164, 42, 169)
HSLhsl(298, 60%, 41%)
HSVhsv(298, 75%, 66%)
CMYKcmyk(3%, 75.1%, 0%, 33.7%)
CIE-LABlab(41.87, 63.49, -41.90)
CIE-LCHlch(41.87, 76.07, 326.58°)
OKLaboklab(52.66% 0.1747 -0.1165)
OKLCHoklch(52.66% 0.21 326.3)
XYZxyz(23.2988, 12.4146, 38.6975)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA9 #2FA92A
analogous
#652AA9 #A42AA9 #A92A6F
triadic
#A42AA9 #A9A42A #2AA9A4
tetradic
#A42AA9 #A9652A #2FA92A #2A6FA9
square
#A42AA9 #A9652A #2FA92A #2A6FA9
split-complementary
#A42AA9 #6FA92A #2AA965
monochromatic
#451247 #741E78 #A42AA9 #CA41D0 #D872DC

Accessibility & contrast

On white

6.03
#A42AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A42AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AA9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA9#FFFFFF#000000##FFFFFF
##A42AA91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#A84068
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42aa9;
/* rgb */ color: rgb(164, 42, 169);
/* oklch */ color: oklch(52.7% 0.210 326.3);
Tailwind
colors: {
  custom: {
    50: '#c371c3',
    500: '#a42aa9',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa9;
$custom-light: #c371c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa9",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 297.638,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.20998,
    "h": 326.3
  },
  "luminance": 0.12413
}

Semantic roles & 50–950 ramp

primary
#A42AA9
secondary
#6FC36C
accent
#E3444B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A42AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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