#D04ED9#D04ED9

#D04ED9 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.228 H 325.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D04ED9
RGBrgb(208, 78, 217)
HSLhsl(296, 65%, 58%)
HSVhsv(296, 64%, 85%)
CMYKcmyk(4.1%, 64.1%, 0%, 14.9%)
CIE-LABlab(55.96, 68.42, -46.94)
CIE-LCHlch(55.96, 82.98, 325.55°)
OKLaboklab(64.97% 0.1868 -0.1302)
OKLCHoklch(64.97% 0.228 325.1)
XYZxyz(41.2602, 23.8709, 68.0665)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04ED9 #57D94E
analogous
#8A4ED9 #D04ED9 #D94E9C
triadic
#D04ED9 #D9D04E #4ED9D0
tetradic
#D04ED9 #D98A4E #57D94E #4E9CD9
square
#D04ED9 #D98A4E #57D94E #4E9CD9
split-complementary
#D04ED9 #9CD94E #4ED98A
monochromatic
#871F8E #B729C0 #D04ED9 #DD80E4 #EBB3EF

Accessibility & contrast

On white

3.64
#D04ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D04ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04ED9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04ED9#FFFFFF#000000##000000
##D04ED91.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#347CDD
Deuteranopia (green-blind)
#688CD5
Tritanopia (blue-blind)
#D5638D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04ed9;
/* rgb */ color: rgb(208, 78, 217);
/* oklch */ color: oklch(65.0% 0.228 325.1);
Tailwind
colors: {
  custom: {
    50: '#e289e5',
    500: '#d04ed9',
    950: '#000000',
  },
}
SCSS
$custom: #d04ed9;
$custom-light: #e289e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ed9",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 296.115,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.2277,
    "h": 325.1
  },
  "luminance": 0.23868
}

Semantic roles & 50–950 ramp

primary
#D04ED9
secondary
#A9DDA6
accent
#E8404B
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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