#D04CDD#D04CDD

#D04CDD is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.234 H 324.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D04CDD
RGBrgb(208, 76, 221)
HSLhsl(295, 68%, 58%)
HSVhsv(295, 66%, 87%)
CMYKcmyk(5.9%, 65.6%, 0%, 13.3%)
CIE-LABlab(55.89, 69.90, -49.32)
CIE-LCHlch(55.89, 85.55, 324.80°)
OKLaboklab(64.99% 0.189 -0.1371)
OKLCHoklch(64.99% 0.234 324)
XYZxyz(41.6469, 23.8017, 70.7931)
Luminance0.2380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04CDD #59DD4C
analogous
#874CDD #D04CDD #DD4CA1
triadic
#D04CDD #DDD04C #4CDDD0
tetradic
#D04CDD #DD874C #59DD4C #4CA1DD
square
#D04CDD #DD874C #59DD4C #4CA1DD
split-complementary
#D04CDD #A1DD4C #4CDD87
monochromatic
#881C93 #B826C6 #D04CDD #DE7FE7 #EBB3F1

Accessibility & contrast

On white

3.65
#D04CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D04CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04CDD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04CDD#FFFFFF#000000##000000
##D04CDD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE1
Deuteranopia (green-blind)
#658BD9
Tritanopia (blue-blind)
#D4638F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04cdd;
/* rgb */ color: rgb(208, 76, 221);
/* oklch */ color: oklch(65.0% 0.234 324.0);
Tailwind
colors: {
  custom: {
    50: '#e288e8',
    500: '#d04cdd',
    950: '#000000',
  },
}
SCSS
$custom: #d04cdd;
$custom-light: #e288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04cdd",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 294.621,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.23354,
    "h": 324
  },
  "luminance": 0.23799
}

Semantic roles & 50–950 ramp

primary
#D04CDD
secondary
#ABDFA6
accent
#EB3D4C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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