#D04CD9#D04CD9

#D04CD9 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.230 H 325.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D04CD9
RGBrgb(208, 76, 217)
HSLhsl(296, 65%, 57%)
HSVhsv(296, 65%, 85%)
CMYKcmyk(4.1%, 65%, 0%, 14.9%)
CIE-LABlab(55.68, 69.21, -47.39)
CIE-LCHlch(55.68, 83.88, 325.60°)
OKLaboklab(64.76% 0.189 -0.1315)
OKLCHoklch(64.76% 0.23 325.2)
XYZxyz(41.1203, 23.5911, 68.0198)
Luminance0.2359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD9 #55D94C
analogous
#894CD9 #D04CD9 #D94C9C
triadic
#D04CD9 #D9D04C #4CD9D0
tetradic
#D04CD9 #D9894C #55D94C #4C9CD9
square
#D04CD9 #D9894C #55D94C #4C9CD9
split-complementary
#D04CD9 #9CD94C #4CD989
monochromatic
#861E8D #B629BF #D04CD9 #DD7EE4 #EBB1EE

Accessibility & contrast

On white

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

On black

5.72
#D04CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD9#FFFFFF#000000##000000
##D04CD91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#307BDD
Deuteranopia (green-blind)
#678BD5
Tritanopia (blue-blind)
#D5618C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04cd9;
/* rgb */ color: rgb(208, 76, 217);
/* oklch */ color: oklch(64.8% 0.230 325.2);
Tailwind
colors: {
  custom: {
    50: '#e288e5',
    500: '#d04cd9',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd9;
$custom-light: #e288e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd9",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 296.17,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64764,
    "c": 0.23024,
    "h": 325.2
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#D04CD9
secondary
#A8DDA4
accent
#E8404B
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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