#A42CA9#A42CA9

#A42CA9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.208 H 326.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A42CA9
RGBrgb(164, 44, 169)
HSLhsl(298, 59%, 42%)
HSVhsv(298, 74%, 66%)
CMYKcmyk(3%, 74%, 0%, 33.7%)
CIE-LABlab(42.09, 62.85, -41.54)
CIE-LCHlch(42.09, 75.33, 326.54°)
OKLaboklab(52.82% 0.1729 -0.1154)
OKLCHoklch(52.82% 0.208 326.3)
XYZxyz(23.3715, 12.5600, 38.7218)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CA9 #31A92C
analogous
#662CA9 #A42CA9 #A92C70
triadic
#A42CA9 #A9A42C #2CA9A4
tetradic
#A42CA9 #A9662C #31A92C #2C70A9
square
#A42CA9 #A9662C #31A92C #2C70A9
split-complementary
#A42CA9 #70A92C #2CA966
monochromatic
#461348 #751F78 #A42CA9 #C944CE #D774DB

Accessibility & contrast

On white

5.98
#A42CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A42CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CA9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CA9#FFFFFF#000000##FFFFFF
##A42CA91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065AAC
Deuteranopia (green-blind)
#4A68A6
Tritanopia (blue-blind)
#A84168
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a42ca9;
/* rgb */ color: rgb(164, 44, 169);
/* oklch */ color: oklch(52.8% 0.208 326.3);
Tailwind
colors: {
  custom: {
    50: '#c372c3',
    500: '#a42ca9',
    950: '#000000',
  },
}
SCSS
$custom: #a42ca9;
$custom-light: #c372c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ca9",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 297.6,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.20791,
    "h": 326.3
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#A42CA9
secondary
#72C36E
accent
#E2464C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A42CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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