#D04CD1#D04CD1

#D04CD1 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.224 H 327.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#D04CD1
RGBrgb(208, 76, 209)
HSLhsl(300, 59%, 56%)
HSVhsv(300, 64%, 82%)
CMYKcmyk(0.5%, 63.6%, 0%, 18%)
CIE-LABlab(55.26, 67.86, -43.50)
CIE-LCHlch(55.26, 80.60, 327.34°)
OKLaboklab(64.33% 0.1887 -0.1202)
OKLCHoklch(64.33% 0.224 327.5)
XYZxyz(40.1049, 23.1849, 62.6720)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD1 #4DD14C
analogous
#8D4CD1 #D04CD1 #D14C8F
triadic
#D04CD1 #D1D04C #4CD1D0
tetradic
#D04CD1 #D18D4C #4DD14C #4C8FD1
square
#D04CD1 #D18D4C #4DD14C #4C8FD1
split-complementary
#D04CD1 #8FD14C #4CD18D
monochromatic
#812181 #B12EB2 #D04CD1 #DD7DDE #EAADEA

Accessibility & contrast

On white

3.73
#D04CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#D04CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD1#FFFFFF#000000##000000
##D04CD11.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3979D5
Deuteranopia (green-blind)
#6C8ACD
Tritanopia (blue-blind)
#D65E88
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04cd1;
/* rgb */ color: rgb(208, 76, 209);
/* oklch */ color: oklch(64.3% 0.224 327.5);
Tailwind
colors: {
  custom: {
    50: '#e287df',
    500: '#d04cd1',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd1;
$custom-light: #e287df;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd1",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 299.549,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.22373,
    "h": 327.5
  },
  "luminance": 0.23182
}

Semantic roles & 50–950 ramp

primary
#D04CD1
secondary
#A1D8A1
accent
#E24647
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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