#D04DDC#D04DDC

#D04DDC is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.231 H 324.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D04DDC
RGBrgb(208, 77, 220)
HSLhsl(295, 67%, 58%)
HSVhsv(295, 65%, 86%)
CMYKcmyk(5.5%, 65%, 0%, 13.7%)
CIE-LABlab(55.97, 69.34, -48.62)
CIE-LCHlch(55.97, 84.68, 324.96°)
OKLaboklab(65.03% 0.1879 -0.1351)
OKLCHoklch(65.03% 0.231 324.3)
XYZxyz(41.5835, 23.8874, 70.1167)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DDC #59DC4D
analogous
#884DDC #D04DDC #DC4DA0
triadic
#D04DDC #DCD04D #4DDCD0
tetradic
#D04DDC #DC884D #59DC4D #4DA0DC
square
#D04DDC #DC884D #59DC4D #4DA0DC
split-complementary
#D04DDC #A0DC4D #4DDC88
monochromatic
#881D92 #B827C5 #D04DDC #DE80E6 #EBB3F0

Accessibility & contrast

On white

3.64
#D04DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D04DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DDC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DDC#FFFFFF#000000##000000
##D04DDC1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#668CD8
Tritanopia (blue-blind)
#D4638E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04ddc;
/* rgb */ color: rgb(208, 77, 220);
/* oklch */ color: oklch(65.0% 0.231 324.3);
Tailwind
colors: {
  custom: {
    50: '#e288e7',
    500: '#d04ddc',
    950: '#000000',
  },
}
SCSS
$custom: #d04ddc;
$custom-light: #e288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ddc",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 294.965,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.23146,
    "h": 324.3
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#D04DDC
secondary
#ABDFA6
accent
#EA3E4C
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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