#A42CAC#A42CAC

#A42CAC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.210 H 325.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A42CAC
RGBrgb(164, 44, 172)
HSLhsl(296, 59%, 42%)
HSVhsv(296, 74%, 67%)
CMYKcmyk(4.7%, 74.4%, 0%, 32.5%)
CIE-LABlab(42.27, 63.36, -43.04)
CIE-LCHlch(42.27, 76.60, 325.81°)
OKLaboklab(53% 0.1728 -0.1198)
OKLCHoklch(53% 0.21 325.3)
XYZxyz(23.6564, 12.6740, 40.2220)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CAC #34AC2C
analogous
#642CAC #A42CAC #AC2C74
triadic
#A42CAC #ACA42C #2CACA4
tetradic
#A42CAC #AC642C #34AC2C #2C74AC
square
#A42CAC #AC642C #34AC2C #2C74AC
split-complementary
#A42CAC #74AC2C #2CAC64
monochromatic
#47134B #76207B #A42CAC #C746D0 #D676DC

Accessibility & contrast

On white

5.94
#A42CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A42CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CAC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CAC#FFFFFF#000000##FFFFFF
##A42CAC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#A8426A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a42cac;
/* rgb */ color: rgb(164, 44, 172);
/* oklch */ color: oklch(53.0% 0.210 325.3);
Tailwind
colors: {
  custom: {
    50: '#c372c5',
    500: '#a42cac',
    950: '#000000',
  },
}
SCSS
$custom: #a42cac;
$custom-light: #c372c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cac",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 296.25,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52999,
    "c": 0.21029,
    "h": 325.3
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#A42CAC
secondary
#75C470
accent
#E2454F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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