#A42DB8#A42DB8

#A42DB8 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.219 H 321.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A42DB8
RGBrgb(164, 45, 184)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 72%)
CMYKcmyk(10.9%, 75.5%, 0%, 27.8%)
CIE-LABlab(43.11, 65.14, -48.79)
CIE-LCHlch(43.11, 81.39, 323.17°)
OKLaboklab(53.83% 0.1712 -0.1366)
OKLCHoklch(53.83% 0.219 321.4)
XYZxyz(24.8990, 13.2314, 46.5805)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DB8 #41B82D
analogous
#5F2DB8 #A42DB8 #B82D87
triadic
#A42DB8 #B8A42D #2DB8A4
tetradic
#A42DB8 #B85F2D #41B82D #2D87B8
square
#A42DB8 #B85F2D #41B82D #2D87B8
split-complementary
#A42DB8 #87B82D #2DB85F
monochromatic
#4C1556 #782187 #A42DB8 #C14ED4 #D280E0

Accessibility & contrast

On white

5.76
#A42DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A42DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42DB8
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DB8#FFFFFF#000000##FFFFFF
##A42DB81.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#3F6AB5
Tritanopia (blue-blind)
#A54971
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a42db8;
/* rgb */ color: rgb(164, 45, 184);
/* oklch */ color: oklch(53.8% 0.219 321.4);
Tailwind
colors: {
  custom: {
    50: '#c373ce',
    500: '#a42db8',
    950: '#000000',
  },
}
SCSS
$custom: #a42db8;
$custom-light: #c373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a42db8",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 291.367,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.21898,
    "h": 321.4
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#A42DB8
secondary
#84C978
accent
#E4445B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A42DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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