#D04CD7#D04CD7

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

Color values

HEX#D04CD7
RGBrgb(208, 76, 215)
HSLhsl(297, 63%, 57%)
HSVhsv(297, 65%, 84%)
CMYKcmyk(3.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(55.57, 68.87, -46.42)
CIE-LCHlch(55.57, 83.06, 326.02°)
OKLaboklab(64.66% 0.1889 -0.1287)
OKLCHoklch(64.66% 0.229 325.7)
XYZxyz(40.8617, 23.4876, 66.6581)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD7 #53D74C
analogous
#8A4CD7 #D04CD7 #D74C99
triadic
#D04CD7 #D7D04C #4CD7D0
tetradic
#D04CD7 #D78A4C #53D74C #4C99D7
square
#D04CD7 #D78A4C #53D74C #4C99D7
split-complementary
#D04CD7 #99D74C #4CD78A
monochromatic
#841F8A #B42ABC #D04CD7 #DD7EE2 #EAB0ED

Accessibility & contrast

On white

3.69
#D04CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04CD7#FFFFFF#000000##000000
##D04CD71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDB
Deuteranopia (green-blind)
#688BD3
Tritanopia (blue-blind)
#D5608B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04cd7;
/* rgb */ color: rgb(208, 76, 215);
/* oklch */ color: oklch(64.7% 0.229 325.7);
Tailwind
colors: {
  custom: {
    50: '#e288e4',
    500: '#d04cd7',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd7;
$custom-light: #e288e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd7",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 296.978,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.2286,
    "h": 325.7
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#D04CD7
secondary
#A6DCA3
accent
#E6414A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D04CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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