#DA2EC4#DA2EC4

#DA2EC4 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.6% C 0.251 H 334.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#DA2EC4
RGBrgb(218, 46, 196)
HSLhsl(308, 70%, 52%)
HSVhsv(308, 79%, 85%)
CMYKcmyk(0%, 78.9%, 10.1%, 14.5%)
CIE-LABlab(52.78, 77.76, -39.85)
CIE-LCHlch(52.78, 87.38, 332.86°)
OKLaboklab(62.64% 0.2262 -0.1093)
OKLCHoklch(62.64% 0.251 334.2)
XYZxyz(39.8547, 20.8485, 54.1390)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA2EC4 #2EDA44
analogous
#9A2EDA #DA2EC4 #DA2E6E
triadic
#DA2EC4 #C4DA2E #2EC4DA
tetradic
#DA2EC4 #DA9A2E #2EDA44 #2E6EDA
square
#DA2EC4 #DA9A2E #2EDA44 #2E6EDA
split-complementary
#DA2EC4 #6EDA2E #2EDA9A
monochromatic
#78156C #AC1F9A #DA2EC4 #E362D3 #EC96E1

Accessibility & contrast

On white

4.06
#DA2EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#DA2EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA2EC4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA2EC4#FFFFFF#000000##000000
##DA2EC41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#6E87C0
Tritanopia (blue-blind)
#E44079
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #da2ec4;
/* rgb */ color: rgb(218, 46, 196);
/* oklch */ color: oklch(62.6% 0.251 334.2);
Tailwind
colors: {
  custom: {
    50: '#ea7bd6',
    500: '#da2ec4',
    950: '#000000',
  },
}
SCSS
$custom: #da2ec4;
$custom-light: #ea7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#da2ec4",
  "rgb": {
    "r": 218,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 307.674,
    "s": 69.919,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62642,
    "c": 0.2512,
    "h": 334.2
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#DA2EC4
secondary
#8CD896
accent
#ED523B
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #DA2EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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