#D04CD5#D04CD5

#D04CD5 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.227 H 326.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D04CD5
RGBrgb(208, 76, 213)
HSLhsl(298, 62%, 57%)
HSVhsv(298, 64%, 84%)
CMYKcmyk(2.3%, 64.3%, 0%, 16.5%)
CIE-LABlab(55.47, 68.53, -45.45)
CIE-LCHlch(55.47, 82.23, 326.45°)
OKLaboklab(64.55% 0.1888 -0.1259)
OKLCHoklch(64.55% 0.227 326.3)
XYZxyz(40.6063, 23.3855, 65.3129)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD5 #51D54C
analogous
#8C4CD5 #D04CD5 #D54C96
triadic
#D04CD5 #D5D04C #4CD5D0
tetradic
#D04CD5 #D58C4C #51D54C #4C96D5
square
#D04CD5 #D58C4C #51D54C #4C96D5
split-complementary
#D04CD5 #96D54C #4CD58C
monochromatic
#832087 #B32BB9 #D04CD5 #DD7EE1 #EAAFEC

Accessibility & contrast

On white

3.70
#D04CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D04CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD5#FFFFFF#000000##000000
##D04CD51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357AD9
Deuteranopia (green-blind)
#698BD1
Tritanopia (blue-blind)
#D5608A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04cd5;
/* rgb */ color: rgb(208, 76, 213);
/* oklch */ color: oklch(64.5% 0.227 326.3);
Tailwind
colors: {
  custom: {
    50: '#e287e2',
    500: '#d04cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd5;
$custom-light: #e287e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd5",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 297.81,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.22697,
    "h": 326.3
  },
  "luminance": 0.23383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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