#D04DD5#D04DD5

#D04DD5 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.226 H 326.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D04DD5
RGBrgb(208, 77, 213)
HSLhsl(298, 62%, 57%)
HSVhsv(298, 64%, 84%)
CMYKcmyk(2.3%, 63.8%, 0%, 16.5%)
CIE-LABlab(55.61, 68.14, -45.23)
CIE-LCHlch(55.61, 81.78, 326.42°)
OKLaboklab(64.65% 0.1877 -0.1253)
OKLCHoklch(64.65% 0.226 326.3)
XYZxyz(40.6758, 23.5243, 65.3361)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DD5 #52D54D
analogous
#8C4DD5 #D04DD5 #D54D96
triadic
#D04DD5 #D5D04D #4DD5D0
tetradic
#D04DD5 #D58C4D #52D54D #4D96D5
square
#D04DD5 #D58C4D #52D54D #4D96D5
split-complementary
#D04DD5 #96D54D #4DD58C
monochromatic
#842088 #B42CB9 #D04DD5 #DD7FE1 #EAB0EC

Accessibility & contrast

On white

3.68
#D04DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D04DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DD5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DD5#FFFFFF#000000##000000
##D04DD51.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377BD9
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#D5608B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04dd5;
/* rgb */ color: rgb(208, 77, 213);
/* oklch */ color: oklch(64.6% 0.226 326.3);
Tailwind
colors: {
  custom: {
    50: '#e288e2',
    500: '#d04dd5',
    950: '#000000',
  },
}
SCSS
$custom: #d04dd5;
$custom-light: #e288e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dd5",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 297.794,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.2257,
    "h": 326.3
  },
  "luminance": 0.23522
}

Semantic roles & 50–950 ramp

primary
#D04DD5
secondary
#A5DBA3
accent
#E54349
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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