#D04CD4#D04CD4

#D04CD4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.226 H 326.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D04CD4
RGBrgb(208, 76, 212)
HSLhsl(298, 61%, 56%)
HSVhsv(298, 64%, 83%)
CMYKcmyk(1.9%, 64.2%, 0%, 16.9%)
CIE-LABlab(55.42, 68.36, -44.97)
CIE-LCHlch(55.42, 81.82, 326.66°)
OKLaboklab(64.49% 0.1888 -0.1245)
OKLCHoklch(64.49% 0.226 326.6)
XYZxyz(40.4798, 23.3349, 64.6466)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD4 #50D44C
analogous
#8C4CD4 #D04CD4 #D44C94
triadic
#D04CD4 #D4D04C #4CD4D0
tetradic
#D04CD4 #D48C4C #50D44C #4C94D4
square
#D04CD4 #D48C4C #50D44C #4C94D4
split-complementary
#D04CD4 #94D44C #4CD48C
monochromatic
#832086 #B32CB7 #D04CD4 #DD7DE0 #EAAFEC

Accessibility & contrast

On white

3.71
#D04CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D04CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD4#FFFFFF#000000##000000
##D04CD41.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367AD8
Deuteranopia (green-blind)
#6A8BD0
Tritanopia (blue-blind)
#D55F8A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04cd4;
/* rgb */ color: rgb(208, 76, 212);
/* oklch */ color: oklch(64.5% 0.226 326.6);
Tailwind
colors: {
  custom: {
    50: '#e287e2',
    500: '#d04cd4',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd4;
$custom-light: #e287e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd4",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 298.235,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64492,
    "c": 0.22616,
    "h": 326.6
  },
  "luminance": 0.23332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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