#D04FD4#D04FD4

#D04FD4 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.222 H 326.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D04FD4
RGBrgb(208, 79, 212)
HSLhsl(298, 61%, 57%)
HSVhsv(298, 63%, 83%)
CMYKcmyk(1.9%, 62.7%, 0%, 16.9%)
CIE-LABlab(55.84, 67.17, -44.29)
CIE-LCHlch(55.84, 80.45, 326.60°)
OKLaboklab(64.8% 0.1855 -0.1225)
OKLCHoklch(64.8% 0.222 326.5)
XYZxyz(40.6913, 23.7579, 64.7171)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FD4 #53D44F
analogous
#8D4FD4 #D04FD4 #D44F96
triadic
#D04FD4 #D4D04F #4FD4D0
tetradic
#D04FD4 #D48D4F #53D44F #4F96D4
square
#D04FD4 #D48D4F #53D44F #4F96D4
split-complementary
#D04FD4 #96D44F #4FD48D
monochromatic
#842187 #B42DB9 #D04FD4 #DD80E0 #EAB1EC

Accessibility & contrast

On white

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

On black

5.75
#D04FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FD4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FD4#FFFFFF#000000##000000
##D04FD41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7BD8
Deuteranopia (green-blind)
#6C8CD0
Tritanopia (blue-blind)
#D5618B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04fd4;
/* rgb */ color: rgb(208, 79, 212);
/* oklch */ color: oklch(64.8% 0.222 326.5);
Tailwind
colors: {
  custom: {
    50: '#e289e2',
    500: '#d04fd4',
    950: '#000000',
  },
}
SCSS
$custom: #d04fd4;
$custom-light: #e289e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fd4",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 298.195,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.22229,
    "h": 326.5
  },
  "luminance": 0.23755
}

Semantic roles & 50–950 ramp

primary
#D04FD4
secondary
#A6DAA4
accent
#E44449
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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