#D04FC8#D04FC8

#D04FC8 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.2% C 0.213 H 330.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D04FC8
RGBrgb(208, 79, 200)
HSLhsl(304, 58%, 56%)
HSVhsv(304, 62%, 82%)
CMYKcmyk(0%, 62%, 3.8%, 18.4%)
CIE-LABlab(55.25, 65.17, -38.38)
CIE-LCHlch(55.25, 75.63, 329.51°)
OKLaboklab(64.18% 0.1846 -0.1055)
OKLCHoklch(64.18% 0.213 330.3)
XYZxyz(39.2335, 23.1748, 57.0391)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FC8 #4FD057
analogous
#984FD0 #D04FC8 #D04F88
triadic
#D04FC8 #C8D04F #4FC8D0
tetradic
#D04FC8 #D0984F #4FD057 #4F88D0
square
#D04FC8 #D0984F #4FD057 #4F88D0
split-complementary
#D04FC8 #88D04F #4FD098
monochromatic
#82237C #B230AA #D04FC8 #DD7FD7 #EAB0E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04FC8#FFFFFF#000000##000000
##D04FC81.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)
#4579CC
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#D75D84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04fc8;
/* rgb */ color: rgb(208, 79, 200);
/* oklch */ color: oklch(64.2% 0.213 330.3);
Tailwind
colors: {
  custom: {
    50: '#e289d9',
    500: '#d04fc8',
    950: '#000000',
  },
}
SCSS
$custom: #d04fc8;
$custom-light: #e289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fc8",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 303.721,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6418,
    "c": 0.21261,
    "h": 330.3
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#D04FC8
secondary
#A3D8A6
accent
#E15047
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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