#D04ED7#D04ED7

#D04ED7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.226 H 325.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D04ED7
RGBrgb(208, 78, 215)
HSLhsl(297, 63%, 57%)
HSVhsv(297, 64%, 84%)
CMYKcmyk(3.3%, 63.7%, 0%, 15.7%)
CIE-LABlab(55.85, 68.08, -45.98)
CIE-LCHlch(55.85, 82.15, 325.97°)
OKLaboklab(64.86% 0.1867 -0.1274)
OKLCHoklch(64.86% 0.226 325.7)
XYZxyz(41.0017, 23.7675, 66.7048)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04ED7 #55D74E
analogous
#8B4ED7 #D04ED7 #D74E9A
triadic
#D04ED7 #D7D04E #4ED7D0
tetradic
#D04ED7 #D78B4E #55D74E #4E9AD7
square
#D04ED7 #D78B4E #55D74E #4E9AD7
split-complementary
#D04ED7 #9AD74E #4ED78B
monochromatic
#861F8B #B62BBD #D04ED7 #DD80E2 #EBB2EE

Accessibility & contrast

On white

3.65
#D04ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D04ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04ED7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04ED7#FFFFFF#000000##000000
##D04ED71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#D5628C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04ed7;
/* rgb */ color: rgb(208, 78, 215);
/* oklch */ color: oklch(64.9% 0.226 325.7);
Tailwind
colors: {
  custom: {
    50: '#e289e4',
    500: '#d04ed7',
    950: '#000000',
  },
}
SCSS
$custom: #d04ed7;
$custom-light: #e289e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ed7",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 296.934,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64859,
    "c": 0.22606,
    "h": 325.7
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#D04ED7
secondary
#A8DCA5
accent
#E6424A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D04ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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