#D04CC2#D04CC2

#D04CC2 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.6% C 0.212 H 332.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#D04CC2
RGBrgb(208, 76, 194)
HSLhsl(306, 58%, 56%)
HSVhsv(306, 63%, 82%)
CMYKcmyk(0%, 63.5%, 6.7%, 18.4%)
CIE-LABlab(54.53, 65.42, -36.07)
CIE-LCHlch(54.53, 74.70, 331.13°)
OKLaboklab(63.56% 0.1875 -0.0988)
OKLCHoklch(63.56% 0.212 332.2)
XYZxyz(38.3345, 22.4767, 53.3479)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CC2 #4CD05A
analogous
#9C4CD0 #D04CC2 #D04C80
triadic
#D04CC2 #C2D04C #4CC2D0
tetradic
#D04CC2 #D09C4C #4CD05A #4C80D0
square
#D04CC2 #D09C4C #4CD05A #4C80D0
split-complementary
#D04CC2 #80D04C #4CD09C
monochromatic
#802276 #B02EA3 #D04CC2 #DD7CD3 #E9ADE3

Accessibility & contrast

On white

3.82
#D04CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#D04CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CC2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CC2#FFFFFF#000000##000000
##D04CC21.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C6
Deuteranopia (green-blind)
#7389BF
Tritanopia (blue-blind)
#D85880
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04cc2;
/* rgb */ color: rgb(208, 76, 194);
/* oklch */ color: oklch(63.6% 0.212 332.2);
Tailwind
colors: {
  custom: {
    50: '#e287d5',
    500: '#d04cc2',
    950: '#000000',
  },
}
SCSS
$custom: #d04cc2;
$custom-light: #e287d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cc2",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 306.364,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63562,
    "c": 0.21195,
    "h": 332.2
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#D04CC2
secondary
#A0D7A6
accent
#E25746
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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