#D04DD6#D04DD6

#D04DD6 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.227 H 326.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#D04DD6
RGBrgb(208, 77, 214)
HSLhsl(297, 63%, 57%)
HSVhsv(297, 64%, 84%)
CMYKcmyk(2.8%, 64%, 0%, 16.1%)
CIE-LABlab(55.66, 68.31, -45.72)
CIE-LCHlch(55.66, 82.19, 326.21°)
OKLaboklab(64.7% 0.1878 -0.1267)
OKLCHoklch(64.7% 0.227 326)
XYZxyz(40.8031, 23.5753, 66.0066)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DD6 #53D64D
analogous
#8B4DD6 #D04DD6 #D64D98
triadic
#D04DD6 #D6D04D #4DD6D0
tetradic
#D04DD6 #D68B4D #53D64D #4D98D6
square
#D04DD6 #D68B4D #53D64D #4D98D6
split-complementary
#D04DD6 #98D64D #4DD68B
monochromatic
#842089 #B42BBB #D04DD6 #DD7FE1 #EAB0ED

Accessibility & contrast

On white

3.67
#D04DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#D04DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DD6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DD6#FFFFFF#000000##000000
##D04DD61.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDA
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#D5618B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04dd6;
/* rgb */ color: rgb(208, 77, 214);
/* oklch */ color: oklch(64.7% 0.227 326.0);
Tailwind
colors: {
  custom: {
    50: '#e288e3',
    500: '#d04dd6',
    950: '#000000',
  },
}
SCSS
$custom: #d04dd6;
$custom-light: #e288e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dd6",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 297.372,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64702,
    "c": 0.22652,
    "h": 326
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#D04DD6
secondary
#A6DBA4
accent
#E64249
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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