#D04ECF#D04ECF

#D04ECF is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.4% C 0.220 H 328.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D04ECF
RGBrgb(208, 78, 207)
HSLhsl(300, 58%, 56%)
HSVhsv(300, 63%, 82%)
CMYKcmyk(0%, 62.5%, 0.5%, 18.4%)
CIE-LABlab(55.45, 66.73, -42.07)
CIE-LCHlch(55.45, 78.88, 327.77°)
OKLaboklab(64.43% 0.1863 -0.1161)
OKLCHoklch(64.43% 0.22 328.1)
XYZxyz(39.9988, 23.3663, 61.4228)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04ECF #4ED04F
analogous
#904ED0 #D04ECF #D04E8E
triadic
#D04ECF #CFD04E #4ECFD0
tetradic
#D04ECF #D0904E #4ED04F #4E8ED0
square
#D04ECF #D0904E #4ED04F #4E8ED0
split-complementary
#D04ECF #8ED04E #4ED090
monochromatic
#812281 #B22FB1 #D04ECF #DD7EDC #EAAFE9

Accessibility & contrast

On white

3.70
#D04ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D04ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04ECF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04ECF#FFFFFF#000000##000000
##D04ECF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#D65F88
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04ecf;
/* rgb */ color: rgb(208, 78, 207);
/* oklch */ color: oklch(64.4% 0.220 328.1);
Tailwind
colors: {
  custom: {
    50: '#e288de',
    500: '#d04ecf',
    950: '#000000',
  },
}
SCSS
$custom: #d04ecf;
$custom-light: #e288de;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ecf",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 300.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64433,
    "c": 0.21953,
    "h": 328.1
  },
  "luminance": 0.23364
}

Semantic roles & 50–950 ramp

primary
#D04ECF
secondary
#A2D8A2
accent
#E14847
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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