#A42EB4#A42EB4

#A42EB4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.215 H 322.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A42EB4
RGBrgb(164, 46, 180)
HSLhsl(293, 59%, 44%)
HSVhsv(293, 74%, 71%)
CMYKcmyk(8.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(42.98, 64.10, -46.64)
CIE-LCHlch(42.98, 79.27, 323.96°)
OKLaboklab(53.66% 0.1706 -0.1303)
OKLCHoklch(53.66% 0.215 322.6)
XYZxyz(24.5242, 13.1432, 44.4163)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42EB4 #3EB42E
analogous
#612EB4 #A42EB4 #B42E81
triadic
#A42EB4 #B4A42E #2EB4A4
tetradic
#A42EB4 #B4612E #3EB42E #2E81B4
square
#A42EB4 #B4612E #3EB42E #2E81B4
split-complementary
#A42EB4 #81B42E #2EB461
monochromatic
#4B1553 #782283 #A42EB4 #C24ED2 #D37EDE

Accessibility & contrast

On white

5.79
#A42EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A42EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42EB4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42EB4#FFFFFF#000000##FFFFFF
##A42EB41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#A6476F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42eb4;
/* rgb */ color: rgb(164, 46, 180);
/* oklch */ color: oklch(53.7% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#c373cb',
    500: '#a42eb4',
    950: '#000000',
  },
}
SCSS
$custom: #a42eb4;
$custom-light: #c373cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42eb4",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 292.836,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53658,
    "c": 0.21467,
    "h": 322.6
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#A42EB4
secondary
#81C777
accent
#E24558
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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