#DA42C2#DA42C2

#DA42C2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.230 H 335.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#DA42C2
RGBrgb(218, 66, 194)
HSLhsl(309, 67%, 56%)
HSVhsv(309, 70%, 85%)
CMYKcmyk(0%, 69.7%, 11%, 14.5%)
CIE-LABlab(54.76, 71.55, -35.59)
CIE-LCHlch(54.76, 79.91, 333.55°)
OKLaboklab(64.03% 0.2085 -0.0972)
OKLCHoklch(64.03% 0.23 335)
XYZxyz(40.5997, 22.7004, 53.2718)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42C2 #42DA5A
analogous
#A642DA #DA42C2 #DA4276
triadic
#DA42C2 #C2DA42 #42C2DA
tetradic
#DA42C2 #DAA642 #42DA5A #4276DA
square
#DA42C2 #DAA642 #42DA5A #4276DA
split-complementary
#DA42C2 #76DA42 #42DAA6
monochromatic
#871A76 #BA24A3 #DA42C2 #E475D3 #EEA8E3

Accessibility & contrast

On white

3.79
#DA42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#DA42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA42C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA42C2#FFFFFF#000000##000000
##DA42C21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#E44E7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #da42c2;
/* rgb */ color: rgb(218, 66, 194);
/* oklch */ color: oklch(64.0% 0.230 335.0);
Tailwind
colors: {
  custom: {
    50: '#e983d5',
    500: '#da42c2',
    950: '#000000',
  },
}
SCSS
$custom: #da42c2;
$custom-light: #e983d5;
$custom-dark: #000000;
JSON
{
  "hex": "#da42c2",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 309.474,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64034,
    "c": 0.23007,
    "h": 335
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#DA42C2
secondary
#9CDBA6
accent
#EA593E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DA42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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