#D04CD6#D04CD6

#D04CD6 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.6% C 0.228 H 326.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D04CD6
RGBrgb(208, 76, 214)
HSLhsl(297, 63%, 57%)
HSVhsv(297, 64%, 84%)
CMYKcmyk(2.8%, 64.5%, 0%, 16.1%)
CIE-LABlab(55.52, 68.70, -45.94)
CIE-LCHlch(55.52, 82.64, 326.23°)
OKLaboklab(64.6% 0.1889 -0.1273)
OKLCHoklch(64.6% 0.228 326)
XYZxyz(40.7336, 23.4364, 65.9835)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CD6 #52D64C
analogous
#8B4CD6 #D04CD6 #D64C97
triadic
#D04CD6 #D6D04C #4CD6D0
tetradic
#D04CD6 #D68B4C #52D64C #4C97D6
square
#D04CD6 #D68B4C #52D64C #4C97D6
split-complementary
#D04CD6 #97D64C #4CD68B
monochromatic
#841F88 #B42BBA #D04CD6 #DD7EE1 #EAB0ED

Accessibility & contrast

On white

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

On black

5.69
#D04CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CD6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CD6#FFFFFF#000000##000000
##D04CD61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347ADA
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#D5608B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04cd6;
/* rgb */ color: rgb(208, 76, 214);
/* oklch */ color: oklch(64.6% 0.228 326.0);
Tailwind
colors: {
  custom: {
    50: '#e287e3',
    500: '#d04cd6',
    950: '#000000',
  },
}
SCSS
$custom: #d04cd6;
$custom-light: #e287e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cd6",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 297.391,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.646,
    "c": 0.22779,
    "h": 326
  },
  "luminance": 0.23434
}

Semantic roles & 50–950 ramp

primary
#D04CD6
secondary
#A5DBA3
accent
#E64249
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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