#A42DB2#A42DB2

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

Color values

HEX#A42DB2
RGBrgb(164, 45, 178)
HSLhsl(294, 60%, 44%)
HSVhsv(294, 75%, 70%)
CMYKcmyk(7.9%, 74.7%, 0%, 30.2%)
CIE-LABlab(42.74, 64.08, -45.84)
CIE-LCHlch(42.74, 78.79, 324.42°)
OKLaboklab(53.45% 0.1716 -0.128)
OKLCHoklch(53.45% 0.214 323.3)
XYZxyz(24.2834, 12.9851, 43.3382)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42DB2 #3BB22D
analogous
#612DB2 #A42DB2 #B22D7D
triadic
#A42DB2 #B2A42D #2DB2A4
tetradic
#A42DB2 #B2612D #3BB22D #2D7DB2
square
#A42DB2 #B2612D #3BB22D #2D7DB2
split-complementary
#A42DB2 #7DB22D #2DB261
monochromatic
#4A1450 #772181 #A42DB2 #C34BD1 #D37CDE

Accessibility & contrast

On white

5.84
#A42DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42DB2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42DB2#FFFFFF#000000##FFFFFF
##A42DB21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#446AAF
Tritanopia (blue-blind)
#A7466E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a42db2;
/* rgb */ color: rgb(164, 45, 178);
/* oklch */ color: oklch(53.5% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#c373ca',
    500: '#a42db2',
    950: '#000000',
  },
}
SCSS
$custom: #a42db2;
$custom-light: #c373ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a42db2",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 293.684,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.21408,
    "h": 323.3
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#A42DB2
secondary
#7DC675
accent
#E34556
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A42DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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