#D04EC1#D04EC1

#D04EC1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.209 H 332.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D04EC1
RGBrgb(208, 78, 193)
HSLhsl(307, 58%, 56%)
HSVhsv(307, 63%, 82%)
CMYKcmyk(0%, 62.5%, 7.2%, 18.4%)
CIE-LABlab(54.77, 64.45, -35.11)
CIE-LCHlch(54.77, 73.39, 331.42°)
OKLaboklab(63.73% 0.1851 -0.0961)
OKLCHoklch(63.73% 0.209 332.6)
XYZxyz(38.3625, 22.7118, 52.8050)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EC1 #4ED05D
analogous
#9E4ED0 #D04EC1 #D04E80
triadic
#D04EC1 #C1D04E #4EC1D0
tetradic
#D04EC1 #D09E4E #4ED05D #4E80D0
square
#D04EC1 #D09E4E #4ED05D #4E80D0
split-complementary
#D04EC1 #80D04E #4ED09E
monochromatic
#812276 #B22FA3 #D04EC1 #DD7ED2 #EAAFE3

Accessibility & contrast

On white

3.79
#D04EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D04EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EC1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EC1#FFFFFF#000000##000000
##D04EC11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#748ABE
Tritanopia (blue-blind)
#D95981
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04ec1;
/* rgb */ color: rgb(208, 78, 193);
/* oklch */ color: oklch(63.7% 0.209 332.6);
Tailwind
colors: {
  custom: {
    50: '#e288d4',
    500: '#d04ec1',
    950: '#000000',
  },
}
SCSS
$custom: #d04ec1;
$custom-light: #e288d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ec1",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 306.923,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63725,
    "c": 0.20852,
    "h": 332.6
  },
  "luminance": 0.22709
}

Semantic roles & 50–950 ramp

primary
#D04EC1
secondary
#A2D8A8
accent
#E15847
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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