#D04FCC#D04FCC

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

Color values

HEX#D04FCC
RGBrgb(208, 79, 204)
HSLhsl(302, 58%, 56%)
HSVhsv(302, 62%, 82%)
CMYKcmyk(0%, 62%, 1.9%, 18.4%)
CIE-LABlab(55.45, 65.82, -40.36)
CIE-LCHlch(55.45, 77.21, 328.48°)
OKLaboklab(64.38% 0.1849 -0.1112)
OKLCHoklch(64.38% 0.216 329)
XYZxyz(39.7071, 23.3642, 59.5334)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FCC #4FD053
analogous
#944FD0 #D04FCC #D04F8C
triadic
#D04FCC #CCD04F #4FCCD0
tetradic
#D04FCC #D0944F #4FD053 #4F8CD0
square
#D04FCC #D0944F #4FD053 #4F8CD0
split-complementary
#D04FCC #8CD04F #4FD094
monochromatic
#82237F #B230AE #D04FCC #DD7FDA #EAB0E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04FCC#FFFFFF#000000##000000
##D04FCC1.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)
#427AD0
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#D75E87
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04fcc;
/* rgb */ color: rgb(208, 79, 204);
/* oklch */ color: oklch(64.4% 0.216 329.0);
Tailwind
colors: {
  custom: {
    50: '#e289dc',
    500: '#d04fcc',
    950: '#000000',
  },
}
SCSS
$custom: #d04fcc;
$custom-light: #e289dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fcc",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 301.86,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.2158,
    "h": 329
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#D04FCC
secondary
#A3D8A4
accent
#E14C47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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