#A42FA9#A42FA9

#A42FA9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.205 H 326.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A42FA9
RGBrgb(164, 47, 169)
HSLhsl(298, 56%, 42%)
HSVhsv(298, 72%, 66%)
CMYKcmyk(3%, 72.2%, 0%, 33.7%)
CIE-LABlab(42.45, 61.83, -40.97)
CIE-LCHlch(42.45, 74.18, 326.47°)
OKLaboklab(53.07% 0.1701 -0.1138)
OKLCHoklch(53.07% 0.205 326.2)
XYZxyz(23.4873, 12.7917, 38.7604)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42FA9 #34A92F
analogous
#672FA9 #A42FA9 #A92F71
triadic
#A42FA9 #A9A42F #2FA9A4
tetradic
#A42FA9 #A9672F #34A92F #2F71A9
square
#A42FA9 #A9672F #34A92F #2F71A9
split-complementary
#A42FA9 #71A92F #2FA967
monochromatic
#471449 #762279 #A42FA9 #C749CC #D679DA

Accessibility & contrast

On white

5.90
#A42FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A42FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42FA9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42FA9#FFFFFF#000000##FFFFFF
##A42FA91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#A84369
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42fa9;
/* rgb */ color: rgb(164, 47, 169);
/* oklch */ color: oklch(53.1% 0.205 326.2);
Tailwind
colors: {
  custom: {
    50: '#c373c3',
    500: '#a42fa9',
    950: '#000000',
  },
}
SCSS
$custom: #a42fa9;
$custom-light: #c373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42fa9",
  "rgb": {
    "r": 164,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 297.541,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.20465,
    "h": 326.2
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#A42FA9
secondary
#75C272
accent
#E0484E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A42FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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