#A42AB5#A42AB5

#A42AB5 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.220 H 322.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A42AB5
RGBrgb(164, 42, 181)
HSLhsl(293, 62%, 44%)
HSVhsv(293, 77%, 71%)
CMYKcmyk(9.4%, 76.8%, 0%, 29%)
CIE-LABlab(42.59, 65.56, -47.85)
CIE-LCHlch(42.59, 81.17, 323.88°)
OKLaboklab(53.4% 0.174 -0.1338)
OKLCHoklch(53.4% 0.22 322.4)
XYZxyz(24.4774, 12.8861, 44.9051)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AB5 #3BB52A
analogous
#5E2AB5 #A42AB5 #B52A80
triadic
#A42AB5 #B5A42A #2AB5A4
tetradic
#A42AB5 #B55E2A #3BB52A #2A80B5
square
#A42AB5 #B55E2A #3BB52A #2A80B5
split-complementary
#A42AB5 #80B52A #2AB55E
monochromatic
#4A1352 #771E83 #A42AB5 #C348D4 #D379E0

Accessibility & contrast

On white

5.87
#A42AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A42AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AB5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AB5#FFFFFF#000000##FFFFFF
##A42AB51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#A6466F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42ab5;
/* rgb */ color: rgb(164, 42, 181);
/* oklch */ color: oklch(53.4% 0.220 322.4);
Tailwind
colors: {
  custom: {
    50: '#c372cc',
    500: '#a42ab5',
    950: '#000000',
  },
}
SCSS
$custom: #a42ab5;
$custom-light: #c372cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42ab5",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 292.662,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.21952,
    "h": 322.4
  },
  "luminance": 0.12885
}

Semantic roles & 50–950 ramp

primary
#A42AB5
secondary
#7DC873
accent
#E54256
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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