#D04ED5#D04ED5

#D04ED5 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.224 H 326.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D04ED5
RGBrgb(208, 78, 213)
HSLhsl(298, 62%, 57%)
HSVhsv(298, 63%, 84%)
CMYKcmyk(2.3%, 63.4%, 0%, 16.5%)
CIE-LABlab(55.75, 67.74, -45.00)
CIE-LCHlch(55.75, 81.33, 326.40°)
OKLaboklab(64.75% 0.1866 -0.1246)
OKLCHoklch(64.75% 0.224 326.3)
XYZxyz(40.7463, 23.6653, 65.3596)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04ED5 #53D54E
analogous
#8D4ED5 #D04ED5 #D54E96
triadic
#D04ED5 #D5D04E #4ED5D0
tetradic
#D04ED5 #D58D4E #53D54E #4E96D5
square
#D04ED5 #D58D4E #53D54E #4E96D5
split-complementary
#D04ED5 #96D54E #4ED58D
monochromatic
#842088 #B42CBA #D04ED5 #DD7FE1 #EAB1EC

Accessibility & contrast

On white

3.66
#D04ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D04ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04ED5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04ED5#FFFFFF#000000##000000
##D04ED51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387BD9
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#D5618B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04ed5;
/* rgb */ color: rgb(208, 78, 213);
/* oklch */ color: oklch(64.8% 0.224 326.3);
Tailwind
colors: {
  custom: {
    50: '#e288e2',
    500: '#d04ed5',
    950: '#000000',
  },
}
SCSS
$custom: #d04ed5;
$custom-light: #e288e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ed5",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 297.778,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.22441,
    "h": 326.3
  },
  "luminance": 0.23663
}

Semantic roles & 50–950 ramp

primary
#D04ED5
secondary
#A6DBA4
accent
#E54349
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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