#D04FD7#D04FD7

#D04FD7 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.225 H 325.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D04FD7
RGBrgb(208, 79, 215)
HSLhsl(297, 63%, 58%)
HSVhsv(297, 63%, 84%)
CMYKcmyk(3.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(56.00, 67.68, -45.75)
CIE-LCHlch(56.00, 81.69, 325.94°)
OKLaboklab(64.96% 0.1856 -0.1268)
OKLCHoklch(64.96% 0.225 325.7)
XYZxyz(41.0733, 23.9107, 66.7286)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FD7 #56D74F
analogous
#8C4FD7 #D04FD7 #D74F9A
triadic
#D04FD7 #D7D04F #4FD7D0
tetradic
#D04FD7 #D78C4F #56D74F #4F9AD7
square
#D04FD7 #D78C4F #56D74F #4F9AD7
split-complementary
#D04FD7 #9AD74F #4FD78C
monochromatic
#86208C #B62BBE #D04FD7 #DD81E2 #EBB3EE

Accessibility & contrast

On white

3.63
#D04FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D04FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FD7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FD7#FFFFFF#000000##000000
##D04FD71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDB
Deuteranopia (green-blind)
#6A8CD3
Tritanopia (blue-blind)
#D5638C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04fd7;
/* rgb */ color: rgb(208, 79, 215);
/* oklch */ color: oklch(65.0% 0.225 325.7);
Tailwind
colors: {
  custom: {
    50: '#e289e4',
    500: '#d04fd7',
    950: '#000000',
  },
}
SCSS
$custom: #d04fd7;
$custom-light: #e289e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fd7",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 296.912,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.22477,
    "h": 325.7
  },
  "luminance": 0.23908
}

Semantic roles & 50–950 ramp

primary
#D04FD7
secondary
#A8DCA6
accent
#E6424A
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D04FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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