#D04CC6#D04CC6

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

Color values

HEX#D04CC6
RGBrgb(208, 76, 198)
HSLhsl(305, 58%, 56%)
HSVhsv(305, 63%, 82%)
CMYKcmyk(0%, 63.5%, 4.8%, 18.4%)
CIE-LABlab(54.72, 66.05, -38.07)
CIE-LCHlch(54.72, 76.24, 330.04°)
OKLaboklab(63.76% 0.1879 -0.1046)
OKLCHoklch(63.76% 0.215 330.9)
XYZxyz(38.7898, 22.6588, 55.7457)
Luminance0.2266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CC6 #4CD056
analogous
#984CD0 #D04CC6 #D04C84
triadic
#D04CC6 #C6D04C #4CC6D0
tetradic
#D04CC6 #D0984C #4CD056 #4C84D0
square
#D04CC6 #D0984C #4CD056 #4C84D0
split-complementary
#D04CC6 #84D04C #4CD098
monochromatic
#802279 #B02EA7 #D04CC6 #DD7CD5 #E9ADE5

Accessibility & contrast

On white

3.80
#D04CC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D04CC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CC6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CC6#FFFFFF#000000##000000
##D04CC61.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377CA
Deuteranopia (green-blind)
#7189C3
Tritanopia (blue-blind)
#D85A82
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04cc6;
/* rgb */ color: rgb(208, 76, 198);
/* oklch */ color: oklch(63.8% 0.215 330.9);
Tailwind
colors: {
  custom: {
    50: '#e287d7',
    500: '#d04cc6',
    950: '#000000',
  },
}
SCSS
$custom: #d04cc6;
$custom-light: #e287d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cc6",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 304.545,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.21504,
    "h": 330.9
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#D04CC6
secondary
#A0D7A5
accent
#E25246
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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