#D04ED2#D04ED2

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

Color values

HEX#D04ED2
RGBrgb(208, 78, 210)
HSLhsl(299, 59%, 56%)
HSVhsv(299, 63%, 82%)
CMYKcmyk(1%, 62.9%, 0%, 17.6%)
CIE-LABlab(55.60, 67.23, -43.54)
CIE-LCHlch(55.60, 80.10, 327.07°)
OKLaboklab(64.59% 0.1865 -0.1204)
OKLCHoklch(64.59% 0.222 327.2)
XYZxyz(40.3690, 23.5144, 63.3727)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04ED2 #50D24E
analogous
#8E4ED2 #D04ED2 #D24E92
triadic
#D04ED2 #D2D04E #4ED2D0
tetradic
#D04ED2 #D28E4E #50D24E #4E92D2
square
#D04ED2 #D28E4E #50D24E #4E92D2
split-complementary
#D04ED2 #92D24E #4ED28E
monochromatic
#832284 #B32EB5 #D04ED2 #DD7FDE #EAB0EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04ED2#FFFFFF#000000##000000
##D04ED21.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)
#3B7AD6
Deuteranopia (green-blind)
#6C8BCE
Tritanopia (blue-blind)
#D66089
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04ed2;
/* rgb */ color: rgb(208, 78, 210);
/* oklch */ color: oklch(64.6% 0.222 327.2);
Tailwind
colors: {
  custom: {
    50: '#e288e0',
    500: '#d04ed2',
    950: '#000000',
  },
}
SCSS
$custom: #d04ed2;
$custom-light: #e288e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ed2",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 299.091,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64591,
    "c": 0.22196,
    "h": 327.2
  },
  "luminance": 0.23512
}

Semantic roles & 50–950 ramp

primary
#D04ED2
secondary
#A4D9A3
accent
#E34548
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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