#A42DB4#A42DB4

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

Color values

HEX#A42DB4
RGBrgb(164, 45, 180)
HSLhsl(293, 60%, 44%)
HSVhsv(293, 75%, 71%)
CMYKcmyk(8.9%, 75%, 0%, 29.4%)
CIE-LABlab(42.86, 64.43, -46.83)
CIE-LCHlch(42.86, 79.65, 323.99°)
OKLaboklab(53.58% 0.1715 -0.1309)
OKLCHoklch(53.58% 0.216 322.6)
XYZxyz(24.4856, 13.0660, 44.4034)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DB4 #3DB42D
analogous
#612DB4 #A42DB4 #B42D81
triadic
#A42DB4 #B4A42D #2DB4A4
tetradic
#A42DB4 #B4612D #3DB42D #2D81B4
square
#A42DB4 #B4612D #3DB42D #2D81B4
split-complementary
#A42DB4 #81B42D #2DB461
monochromatic
#4B1552 #772183 #A42DB4 #C24CD2 #D37DDE

Accessibility & contrast

On white

5.81
#A42DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42DB4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DB4#FFFFFF#000000##FFFFFF
##A42DB41.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42db4;
/* rgb */ color: rgb(164, 45, 180);
/* oklch */ color: oklch(53.6% 0.216 322.6);
Tailwind
colors: {
  custom: {
    50: '#c373cb',
    500: '#a42db4',
    950: '#000000',
  },
}
SCSS
$custom: #a42db4;
$custom-light: #c373cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a42db4",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 292.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.21571,
    "h": 322.6
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#A42DB4
secondary
#7FC776
accent
#E34557
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A42DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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