#D04DCD#D04DCD

#D04DCD is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.219 H 328.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D04DCD
RGBrgb(208, 77, 205)
HSLhsl(301, 58%, 56%)
HSVhsv(301, 63%, 82%)
CMYKcmyk(0%, 63%, 1.4%, 18.4%)
CIE-LABlab(55.20, 66.80, -41.31)
CIE-LCHlch(55.20, 78.54, 328.26°)
OKLaboklab(64.22% 0.1873 -0.1139)
OKLCHoklch(64.22% 0.219 328.7)
XYZxyz(39.6853, 23.1281, 60.1197)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DCD #4DD050
analogous
#914DD0 #D04DCD #D04D8B
triadic
#D04DCD #CDD04D #4DCDD0
tetradic
#D04DCD #D0914D #4DD050 #4D8BD0
square
#D04DCD #D0914D #4DD050 #4D8BD0
split-complementary
#D04DCD #8BD04D #4DD091
monochromatic
#81227E #B12FAE #D04DCD #DD7DDB #EAAEE8

Accessibility & contrast

On white

3.73
#D04DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D04DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DCD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DCD#FFFFFF#000000##000000
##D04DCD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#D75D86
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04dcd;
/* rgb */ color: rgb(208, 77, 205);
/* oklch */ color: oklch(64.2% 0.219 328.7);
Tailwind
colors: {
  custom: {
    50: '#e288dd',
    500: '#d04dcd',
    950: '#000000',
  },
}
SCSS
$custom: #d04dcd;
$custom-light: #e288dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dcd",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 301.374,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64224,
    "c": 0.21924,
    "h": 328.7
  },
  "luminance": 0.23125
}

Semantic roles & 50–950 ramp

primary
#D04DCD
secondary
#A1D8A2
accent
#E14A46
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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