#D04DC7#D04DC7

#D04DC7 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.214 H 330.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D04DC7
RGBrgb(208, 77, 199)
HSLhsl(304, 58%, 56%)
HSVhsv(304, 63%, 82%)
CMYKcmyk(0%, 63%, 4.3%, 18.4%)
CIE-LABlab(54.91, 65.81, -38.34)
CIE-LCHlch(54.91, 76.17, 329.78°)
OKLaboklab(63.92% 0.1868 -0.1054)
OKLCHoklch(63.92% 0.215 330.6)
XYZxyz(38.9749, 22.8440, 56.3783)
Luminance0.2284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DC7 #4DD056
analogous
#974DD0 #D04DC7 #D04D85
triadic
#D04DC7 #C7D04D #4DC7D0
tetradic
#D04DC7 #D0974D #4DD056 #4D85D0
square
#D04DC7 #D0974D #4DD056 #4D85D0
split-complementary
#D04DC7 #85D04D #4DD097
monochromatic
#81227A #B12FA8 #D04DC7 #DD7DD6 #EAAEE5

Accessibility & contrast

On white

3.77
#D04DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D04DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DC7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DC7#FFFFFF#000000##000000
##D04DC71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#718AC4
Tritanopia (blue-blind)
#D85B83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04dc7;
/* rgb */ color: rgb(208, 77, 199);
/* oklch */ color: oklch(63.9% 0.214 330.6);
Tailwind
colors: {
  custom: {
    50: '#e288d8',
    500: '#d04dc7',
    950: '#000000',
  },
}
SCSS
$custom: #d04dc7;
$custom-light: #e288d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dc7",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 304.122,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63917,
    "c": 0.2145,
    "h": 330.6
  },
  "luminance": 0.22841
}

Semantic roles & 50–950 ramp

primary
#D04DC7
secondary
#A1D8A5
accent
#E15146
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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