#D04FD6#D04FD6

#D04FD6 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.224 H 326.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D04FD6
RGBrgb(208, 79, 214)
HSLhsl(297, 62%, 57%)
HSVhsv(297, 63%, 84%)
CMYKcmyk(2.8%, 63.1%, 0%, 16.1%)
CIE-LABlab(55.95, 67.51, -45.26)
CIE-LCHlch(55.95, 81.28, 326.16°)
OKLaboklab(64.91% 0.1856 -0.1254)
OKLCHoklch(64.91% 0.224 326)
XYZxyz(40.9452, 23.8594, 66.0540)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FD6 #55D64F
analogous
#8C4FD6 #D04FD6 #D64F99
triadic
#D04FD6 #D6D04F #4FD6D0
tetradic
#D04FD6 #D68C4F #55D64F #4F99D6
square
#D04FD6 #D68C4F #55D64F #4F99D6
split-complementary
#D04FD6 #99D64F #4FD68C
monochromatic
#86208A #B62CBC #D04FD6 #DD81E2 #EBB2ED

Accessibility & contrast

On white

3.64
#D04FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D04FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FD6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FD6#FFFFFF#000000##000000
##D04FD61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397CDA
Deuteranopia (green-blind)
#6B8CD2
Tritanopia (blue-blind)
#D5628C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04fd6;
/* rgb */ color: rgb(208, 79, 214);
/* oklch */ color: oklch(64.9% 0.224 326.0);
Tailwind
colors: {
  custom: {
    50: '#e289e3',
    500: '#d04fd6',
    950: '#000000',
  },
}
SCSS
$custom: #d04fd6;
$custom-light: #e289e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fd6",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 297.333,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64909,
    "c": 0.22394,
    "h": 326
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#D04FD6
secondary
#A8DCA5
accent
#E5434A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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