#A42DB1#A42DB1

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

Color values

HEX#A42DB1
RGBrgb(164, 45, 177)
HSLhsl(294, 59%, 44%)
HSVhsv(294, 75%, 69%)
CMYKcmyk(7.3%, 74.6%, 0%, 30.6%)
CIE-LABlab(42.68, 63.90, -45.35)
CIE-LCHlch(42.68, 78.35, 324.64°)
OKLaboklab(53.39% 0.1717 -0.1265)
OKLCHoklch(53.39% 0.213 323.6)
XYZxyz(24.1833, 12.9451, 42.8113)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DB1 #3AB12D
analogous
#622DB1 #A42DB1 #B12D7C
triadic
#A42DB1 #B1A42D #2DB1A4
tetradic
#A42DB1 #B1622D #3AB12D #2D7CB1
square
#A42DB1 #B1622D #3AB12D #2D7CB1
split-complementary
#A42DB1 #7CB12D #2DB162
monochromatic
#4A144F #772180 #A42DB1 #C44AD1 #D47BDD

Accessibility & contrast

On white

5.85
#A42DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A42DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DB1
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DB1#FFFFFF#000000##FFFFFF
##A42DB11.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4569AE
Tritanopia (blue-blind)
#A7456D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42db1;
/* rgb */ color: rgb(164, 45, 177);
/* oklch */ color: oklch(53.4% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#c373c9',
    500: '#a42db1',
    950: '#000000',
  },
}
SCSS
$custom: #a42db1;
$custom-light: #c373c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42db1",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 294.091,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.21327,
    "h": 323.6
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#A42DB1
secondary
#7CC674
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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