#D04FC7#D04FC7

#D04FC7 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.1% C 0.212 H 330.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D04FC7
RGBrgb(208, 79, 199)
HSLhsl(304, 58%, 56%)
HSVhsv(304, 62%, 82%)
CMYKcmyk(0%, 62%, 4.3%, 18.4%)
CIE-LABlab(55.20, 65.00, -37.88)
CIE-LCHlch(55.20, 75.23, 329.77°)
OKLaboklab(64.13% 0.1845 -0.104)
OKLCHoklch(64.13% 0.212 330.6)
XYZxyz(39.1170, 23.1282, 56.4257)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FC7 #4FD058
analogous
#994FD0 #D04FC7 #D04F87
triadic
#D04FC7 #C7D04F #4FC7D0
tetradic
#D04FC7 #D0994F #4FD058 #4F87D0
square
#D04FC7 #D0994F #4FD058 #4F87D0
split-complementary
#D04FC7 #87D04F #4FD099
monochromatic
#82237B #B230A9 #D04FC7 #DD7FD6 #EAB0E6

Accessibility & contrast

On white

3.73
#D04FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D04FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FC7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FC7#FFFFFF#000000##000000
##D04FC71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#728BC4
Tritanopia (blue-blind)
#D85C84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04fc7;
/* rgb */ color: rgb(208, 79, 199);
/* oklch */ color: oklch(64.1% 0.212 330.6);
Tailwind
colors: {
  custom: {
    50: '#e289d8',
    500: '#d04fc7',
    950: '#000000',
  },
}
SCSS
$custom: #d04fc7;
$custom-light: #e289d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fc7",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 304.186,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64129,
    "c": 0.21183,
    "h": 330.6
  },
  "luminance": 0.23125
}

Semantic roles & 50–950 ramp

primary
#D04FC7
secondary
#A3D8A7
accent
#E15147
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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