#D04CC7#D04CC7

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

Color values

HEX#D04CC7
RGBrgb(208, 76, 199)
HSLhsl(304, 58%, 56%)
HSVhsv(304, 63%, 82%)
CMYKcmyk(0%, 63.5%, 4.3%, 18.4%)
CIE-LABlab(54.77, 66.21, -38.57)
CIE-LCHlch(54.77, 76.63, 329.78°)
OKLaboklab(63.81% 0.188 -0.106)
OKLCHoklch(63.81% 0.216 330.6)
XYZxyz(38.9055, 22.7051, 56.3551)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CC7 #4CD055
analogous
#974CD0 #D04CC7 #D04C85
triadic
#D04CC7 #C7D04C #4CC7D0
tetradic
#D04CC7 #D0974C #4CD055 #4C85D0
square
#D04CC7 #D0974C #4CD055 #4C85D0
split-complementary
#D04CC7 #85D04C #4CD097
monochromatic
#80227A #B02EA8 #D04CC7 #DD7CD6 #E9ADE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04CC7#FFFFFF#000000##000000
##D04CC71.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)
#4277CB
Deuteranopia (green-blind)
#718AC4
Tritanopia (blue-blind)
#D85A83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04cc7;
/* rgb */ color: rgb(208, 76, 199);
/* oklch */ color: oklch(63.8% 0.216 330.6);
Tailwind
colors: {
  custom: {
    50: '#e287d8',
    500: '#d04cc7',
    950: '#000000',
  },
}
SCSS
$custom: #d04cc7;
$custom-light: #e287d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cc7",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 304.091,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.21582,
    "h": 330.6
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#D04CC7
secondary
#A0D7A4
accent
#E25146
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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