#A42CB5#A42CB5

#A42CB5 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.218 H 322.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A42CB5
RGBrgb(164, 44, 181)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(9.4%, 75.7%, 0%, 29%)
CIE-LABlab(42.81, 64.93, -47.50)
CIE-LCHlch(42.81, 80.45, 323.81°)
OKLaboklab(53.56% 0.1723 -0.1328)
OKLCHoklch(53.56% 0.218 322.4)
XYZxyz(24.5502, 13.0315, 44.9293)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42CB5 #3DB52C
analogous
#602CB5 #A42CB5 #B52C82
triadic
#A42CB5 #B5A42C #2CB5A4
tetradic
#A42CB5 #B5602C #3DB52C #2C82B5
square
#A42CB5 #B5602C #3DB52C #2C82B5
split-complementary
#A42CB5 #82B52C #2CB560
monochromatic
#4B1453 #772084 #A42CB5 #C24BD3 #D37CDF

Accessibility & contrast

On white

5.82
#A42CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A42CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42CB5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42CB5#FFFFFF#000000##FFFFFF
##A42CB51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#A6476F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42cb5;
/* rgb */ color: rgb(164, 44, 181);
/* oklch */ color: oklch(53.6% 0.218 322.4);
Tailwind
colors: {
  custom: {
    50: '#c372cc',
    500: '#a42cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a42cb5;
$custom-light: #c372cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42cb5",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 292.555,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53559,
    "c": 0.21754,
    "h": 322.4
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#A42CB5
secondary
#7FC875
accent
#E44458
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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