#DA42D3#DA42D3

#DA42D3 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.9% C 0.242 H 329.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#DA42D3
RGBrgb(218, 66, 211)
HSLhsl(303, 67%, 56%)
HSVhsv(303, 70%, 85%)
CMYKcmyk(0%, 69.7%, 3.2%, 14.5%)
CIE-LABlab(55.59, 74.11, -44.02)
CIE-LCHlch(55.59, 86.20, 329.29°)
OKLaboklab(64.9% 0.2097 -0.1214)
OKLCHoklch(64.9% 0.242 329.9)
XYZxyz(42.6193, 23.5082, 63.9082)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA42D3 #42DA49
analogous
#9542DA #DA42D3 #DA4287
triadic
#DA42D3 #D3DA42 #42D3DA
tetradic
#DA42D3 #DA9542 #42DA49 #4287DA
square
#DA42D3 #DA9542 #42DA49 #4287DA
split-complementary
#DA42D3 #87DA42 #42DA95
monochromatic
#871A82 #BA24B3 #DA42D3 #E475DF #EEA8EB

Accessibility & contrast

On white

3.68
#DA42D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#DA42D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA42D3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA42D3#FFFFFF#000000##000000
##DA42D31.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3178D7
Deuteranopia (green-blind)
#6E8CCF
Tritanopia (blue-blind)
#E25586
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #da42d3;
/* rgb */ color: rgb(218, 66, 211);
/* oklch */ color: oklch(64.9% 0.242 329.9);
Tailwind
colors: {
  custom: {
    50: '#e984e1',
    500: '#da42d3',
    950: '#000000',
  },
}
SCSS
$custom: #da42d3;
$custom-light: #e984e1;
$custom-dark: #000000;
JSON
{
  "hex": "#da42d3",
  "rgb": {
    "r": 218,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 302.763,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.24229,
    "h": 329.9
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#DA42D3
secondary
#9CDB9F
accent
#EA463E
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DA42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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