#D04DED#D04DED

#D04DED is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.0% C 0.246 H 319.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D04DED
RGBrgb(208, 77, 237)
HSLhsl(289, 82%, 62%)
HSVhsv(289, 68%, 93%)
CMYKcmyk(12.2%, 67.5%, 0%, 7.1%)
CIE-LABlab(56.91, 72.36, -56.68)
CIE-LCHlch(56.91, 91.92, 321.93°)
OKLaboklab(66.01% 0.1877 -0.1586)
OKLCHoklch(66.01% 0.246 319.8)
XYZxyz(43.9505, 24.8342, 82.5828)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DED #6AED4D
analogous
#804DED #D04DED #ED4DBA
triadic
#D04DED #EDD04D #4DEDD0
tetradic
#D04DED #ED804D #6AED4D #4DBAED
square
#D04DED #ED804D #6AED4D #4DBAED
split-complementary
#D04DED #BAED4D #4DED80
monochromatic
#9212AE #C017E6 #D04DED #DF85F3 #EDBCF8

Accessibility & contrast

On white

3.52
#D04DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D04DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DED
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DED#FFFFFF#000000##000000
##D04DED1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0280F2
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#D16A97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d04ded;
/* rgb */ color: rgb(208, 77, 237);
/* oklch */ color: oklch(66.0% 0.246 319.8);
Tailwind
colors: {
  custom: {
    50: '#e289f3',
    500: '#d04ded',
    950: '#000000',
  },
}
SCSS
$custom: #d04ded;
$custom-light: #e289f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ded",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 237
  },
  "hsl": {
    "h": 289.125,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66009,
    "c": 0.24577,
    "h": 319.8
  },
  "luminance": 0.24832
}

Semantic roles & 50–950 ramp

primary
#D04DED
secondary
#B8E9AD
accent
#DE072E
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #D04DED

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

Preview Lab → · Contrast checker → · Palette generator →

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