#DA42C1#DA42C1

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

Color values

HEX#DA42C1
RGBrgb(218, 66, 193)
HSLhsl(310, 67%, 56%)
HSVhsv(310, 70%, 85%)
CMYKcmyk(0%, 69.7%, 11.5%, 14.5%)
CIE-LABlab(54.72, 71.40, -35.09)
CIE-LCHlch(54.72, 79.56, 333.83°)
OKLaboklab(63.99% 0.2085 -0.0957)
OKLCHoklch(63.99% 0.229 335.3)
XYZxyz(40.4878, 22.6556, 52.6823)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42C1 #42DA5B
analogous
#A742DA #DA42C1 #DA4275
triadic
#DA42C1 #C1DA42 #42C1DA
tetradic
#DA42C1 #DAA742 #42DA5B #4275DA
square
#DA42C1 #DAA742 #42DA5B #4275DA
split-complementary
#DA42C1 #75DA42 #42DAA7
monochromatic
#871A75 #BA24A2 #DA42C1 #E475D2 #EEA8E3

Accessibility & contrast

On white

3.80
#DA42C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#DA42C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA42C1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA42C1#FFFFFF#000000##000000
##DA42C11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C5
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#E54D7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #da42c1;
/* rgb */ color: rgb(218, 66, 193);
/* oklch */ color: oklch(64.0% 0.229 335.3);
Tailwind
colors: {
  custom: {
    50: '#e983d4',
    500: '#da42c1',
    950: '#000000',
  },
}
SCSS
$custom: #da42c1;
$custom-light: #e983d4;
$custom-dark: #000000;
JSON
{
  "hex": "#da42c1",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 309.868,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63985,
    "c": 0.22938,
    "h": 335.3
  },
  "luminance": 0.22652
}

Semantic roles & 50–950 ramp

primary
#DA42C1
secondary
#9CDBA7
accent
#EA5A3E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DA42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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