#D04DC6#D04DC6

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

Color values

HEX#D04DC6
RGBrgb(208, 77, 198)
HSLhsl(305, 58%, 56%)
HSVhsv(305, 63%, 82%)
CMYKcmyk(0%, 63%, 4.8%, 18.4%)
CIE-LABlab(54.86, 65.65, -37.84)
CIE-LCHlch(54.86, 75.78, 330.04°)
OKLaboklab(63.87% 0.1868 -0.1039)
OKLCHoklch(63.87% 0.214 330.9)
XYZxyz(38.8592, 22.7977, 55.7688)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DC6 #4DD057
analogous
#984DD0 #D04DC6 #D04D84
triadic
#D04DC6 #C6D04D #4DC6D0
tetradic
#D04DC6 #D0984D #4DD057 #4D84D0
square
#D04DC6 #D0984D #4DD057 #4D84D0
split-complementary
#D04DC6 #84D04D #4DD098
monochromatic
#812279 #B12FA7 #D04DC6 #DD7DD6 #EAAEE5

Accessibility & contrast

On white

3.78
#D04DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D04DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DC6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DC6#FFFFFF#000000##000000
##D04DC61.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CA
Deuteranopia (green-blind)
#728AC3
Tritanopia (blue-blind)
#D85A83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04dc6;
/* rgb */ color: rgb(208, 77, 198);
/* oklch */ color: oklch(63.9% 0.214 330.9);
Tailwind
colors: {
  custom: {
    50: '#e288d7',
    500: '#d04dc6',
    950: '#000000',
  },
}
SCSS
$custom: #d04dc6;
$custom-light: #e288d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dc6",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 304.58,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63866,
    "c": 0.21372,
    "h": 330.9
  },
  "luminance": 0.22795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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