#D04DC1#D04DC1

#D04DC1 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.210 H 332.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D04DC1
RGBrgb(208, 77, 193)
HSLhsl(307, 58%, 56%)
HSVhsv(307, 63%, 82%)
CMYKcmyk(0%, 63%, 7.2%, 18.4%)
CIE-LABlab(54.63, 64.85, -35.34)
CIE-LCHlch(54.63, 73.86, 331.41°)
OKLaboklab(63.62% 0.1862 -0.0967)
OKLCHoklch(63.62% 0.21 332.6)
XYZxyz(38.2920, 22.5708, 52.7815)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DC1 #4DD05C
analogous
#9D4DD0 #D04DC1 #D04D7F
triadic
#D04DC1 #C1D04D #4DC1D0
tetradic
#D04DC1 #D09D4D #4DD05C #4D7FD0
square
#D04DC1 #D09D4D #4DD05C #4D7FD0
split-complementary
#D04DC1 #7FD04D #4DD09D
monochromatic
#812276 #B12FA2 #D04DC1 #DD7DD2 #EAAEE3

Accessibility & contrast

On white

3.81
#D04DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D04DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DC1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DC1#FFFFFF#000000##000000
##D04DC11.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C4
Deuteranopia (green-blind)
#7489BE
Tritanopia (blue-blind)
#D95880
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04dc1;
/* rgb */ color: rgb(208, 77, 193);
/* oklch */ color: oklch(63.6% 0.210 332.6);
Tailwind
colors: {
  custom: {
    50: '#e287d4',
    500: '#d04dc1',
    950: '#000000',
  },
}
SCSS
$custom: #d04dc1;
$custom-light: #e287d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dc1",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 306.87,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63618,
    "c": 0.20986,
    "h": 332.6
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#D04DC1
secondary
#A1D8A7
accent
#E15846
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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