#DA42C5#DA42C5

#DA42C5 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.232 H 334.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DA42C5
RGBrgb(218, 66, 197)
HSLhsl(308, 67%, 56%)
HSVhsv(308, 70%, 85%)
CMYKcmyk(0%, 69.7%, 9.6%, 14.5%)
CIE-LABlab(54.90, 71.99, -37.10)
CIE-LCHlch(54.90, 80.98, 332.74°)
OKLaboklab(64.18% 0.2088 -0.1015)
OKLCHoklch(64.18% 0.232 334.1)
XYZxyz(40.9400, 22.8365, 55.0642)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42C5 #42DA57
analogous
#A342DA #DA42C5 #DA4279
triadic
#DA42C5 #C5DA42 #42C5DA
tetradic
#DA42C5 #DAA342 #42DA57 #4279DA
square
#DA42C5 #DAA342 #42DA57 #4279DA
split-complementary
#DA42C5 #79DA42 #42DAA3
monochromatic
#871A78 #BA24A6 #DA42C5 #E475D5 #EEA8E4

Accessibility & contrast

On white

3.77
#DA42C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DA42C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA42C5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA42C5#FFFFFF#000000##000000
##DA42C51.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C9
Deuteranopia (green-blind)
#758BC1
Tritanopia (blue-blind)
#E44F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #da42c5;
/* rgb */ color: rgb(218, 66, 197);
/* oklch */ color: oklch(64.2% 0.232 334.1);
Tailwind
colors: {
  custom: {
    50: '#e983d7',
    500: '#da42c5',
    950: '#000000',
  },
}
SCSS
$custom: #da42c5;
$custom-light: #e983d7;
$custom-dark: #000000;
JSON
{
  "hex": "#da42c5",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 308.289,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64182,
    "c": 0.23217,
    "h": 334.1
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

primary
#DA42C5
secondary
#9CDBA5
accent
#EA553E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DA42C5

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

Preview Lab → · Contrast checker → · Palette generator →

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