#D04FC5#D04FC5

#D04FC5 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.0% C 0.210 H 331.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#D04FC5
RGBrgb(208, 79, 197)
HSLhsl(305, 58%, 56%)
HSVhsv(305, 62%, 82%)
CMYKcmyk(0%, 62%, 5.3%, 18.4%)
CIE-LABlab(55.11, 64.68, -36.88)
CIE-LCHlch(55.11, 74.46, 330.31°)
OKLaboklab(64.03% 0.1843 -0.1012)
OKLCHoklch(64.03% 0.21 331.2)
XYZxyz(38.8863, 23.0359, 55.2107)
Luminance0.2303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FC5 #4FD05A
analogous
#9B4FD0 #D04FC5 #D04F85
triadic
#D04FC5 #C5D04F #4FC5D0
tetradic
#D04FC5 #D09B4F #4FD05A #4F85D0
square
#D04FC5 #D09B4F #4FD05A #4F85D0
split-complementary
#D04FC5 #85D04F #4FD09B
monochromatic
#82237A #B230A7 #D04FC5 #DD7FD5 #EAB0E5

Accessibility & contrast

On white

3.75
#D04FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#D04FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FC5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FC5#FFFFFF#000000##000000
##D04FC51.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4878C9
Deuteranopia (green-blind)
#738AC2
Tritanopia (blue-blind)
#D85B83
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04fc5;
/* rgb */ color: rgb(208, 79, 197);
/* oklch */ color: oklch(64.0% 0.210 331.2);
Tailwind
colors: {
  custom: {
    50: '#e289d7',
    500: '#d04fc5',
    950: '#000000',
  },
}
SCSS
$custom: #d04fc5;
$custom-light: #e289d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fc5",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 305.116,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.21026,
    "h": 331.2
  },
  "luminance": 0.23033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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