#D04CC5#D04CC5

#D04CC5 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.214 H 331.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D04CC5
RGBrgb(208, 76, 197)
HSLhsl(305, 58%, 56%)
HSVhsv(305, 63%, 82%)
CMYKcmyk(0%, 63.5%, 5.3%, 18.4%)
CIE-LABlab(54.67, 65.89, -37.57)
CIE-LCHlch(54.67, 75.85, 330.31°)
OKLaboklab(63.71% 0.1878 -0.1031)
OKLCHoklch(63.71% 0.214 331.2)
XYZxyz(38.6748, 22.6129, 55.1402)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CC5 #4CD057
analogous
#994CD0 #D04CC5 #D04C83
triadic
#D04CC5 #C5D04C #4CC5D0
tetradic
#D04CC5 #D0994C #4CD057 #4C83D0
square
#D04CC5 #D0994C #4CD057 #4C83D0
split-complementary
#D04CC5 #83D04C #4CD099
monochromatic
#802278 #B02EA6 #D04CC5 #DD7CD5 #E9ADE4

Accessibility & contrast

On white

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

On black

5.52
#D04CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CC5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CC5#FFFFFF#000000##000000
##D04CC51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4477C9
Deuteranopia (green-blind)
#7189C2
Tritanopia (blue-blind)
#D85982
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04cc5;
/* rgb */ color: rgb(208, 76, 197);
/* oklch */ color: oklch(63.7% 0.214 331.2);
Tailwind
colors: {
  custom: {
    50: '#e287d7',
    500: '#d04cc5',
    950: '#000000',
  },
}
SCSS
$custom: #d04cc5;
$custom-light: #e287d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cc5",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 197
  },
  "hsl": {
    "h": 305,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63711,
    "c": 0.21426,
    "h": 331.2
  },
  "luminance": 0.2261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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