#A42DB3#A42DB3

#A42DB3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.215 H 323.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A42DB3
RGBrgb(164, 45, 179)
HSLhsl(293, 60%, 44%)
HSVhsv(293, 75%, 70%)
CMYKcmyk(8.4%, 74.9%, 0%, 29.8%)
CIE-LABlab(42.80, 64.25, -46.33)
CIE-LCHlch(42.80, 79.22, 324.20°)
OKLaboklab(53.51% 0.1715 -0.1294)
OKLCHoklch(53.51% 0.215 323)
XYZxyz(24.3841, 13.0254, 43.8689)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DB3 #3CB32D
analogous
#612DB3 #A42DB3 #B32D7F
triadic
#A42DB3 #B3A42D #2DB3A4
tetradic
#A42DB3 #B3612D #3CB32D #2D7FB3
square
#A42DB3 #B3612D #3CB32D #2D7FB3
split-complementary
#A42DB3 #7FB32D #2DB361
monochromatic
#4A1451 #772182 #A42DB3 #C34BD2 #D37CDE

Accessibility & contrast

On white

5.83
#A42DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A42DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DB3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DB3#FFFFFF#000000##FFFFFF
##A42DB31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#A6466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42db3;
/* rgb */ color: rgb(164, 45, 179);
/* oklch */ color: oklch(53.5% 0.215 323.0);
Tailwind
colors: {
  custom: {
    50: '#c373ca',
    500: '#a42db3',
    950: '#000000',
  },
}
SCSS
$custom: #a42db3;
$custom-light: #c373ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a42db3",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 293.284,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53513,
    "c": 0.21489,
    "h": 323
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#A42DB3
secondary
#7EC775
accent
#E34557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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