#DA42C7#DA42C7

#DA42C7 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.3% C 0.234 H 333.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DA42C7
RGBrgb(218, 66, 199)
HSLhsl(308, 67%, 56%)
HSVhsv(308, 70%, 85%)
CMYKcmyk(0%, 69.7%, 8.7%, 14.5%)
CIE-LABlab(55.00, 72.28, -38.09)
CIE-LCHlch(55.00, 81.71, 332.21°)
OKLaboklab(64.28% 0.209 -0.1043)
OKLCHoklch(64.28% 0.234 333.5)
XYZxyz(41.1707, 22.9288, 56.2791)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42C7 #42DA55
analogous
#A142DA #DA42C7 #DA427B
triadic
#DA42C7 #C7DA42 #42C7DA
tetradic
#DA42C7 #DAA142 #42DA55 #427BDA
square
#DA42C7 #DAA142 #42DA55 #427BDA
split-complementary
#DA42C7 #7BDA42 #42DAA1
monochromatic
#871A7A #BA24A8 #DA42C7 #E475D6 #EEA8E5

Accessibility & contrast

On white

3.76
#DA42C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DA42C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA42C7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA42C7#FFFFFF#000000##000000
##DA42C71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#748BC3
Tritanopia (blue-blind)
#E45080
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #da42c7;
/* rgb */ color: rgb(218, 66, 199);
/* oklch */ color: oklch(64.3% 0.234 333.5);
Tailwind
colors: {
  custom: {
    50: '#e983d8',
    500: '#da42c7',
    950: '#000000',
  },
}
SCSS
$custom: #da42c7;
$custom-light: #e983d8;
$custom-dark: #000000;
JSON
{
  "hex": "#da42c7",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 307.5,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.23358,
    "h": 333.5
  },
  "luminance": 0.22925
}

Semantic roles & 50–950 ramp

primary
#DA42C7
secondary
#9CDBA4
accent
#EA533E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DA42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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