#D04FD8#D04FD8

#D04FD8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.226 H 325.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D04FD8
RGBrgb(208, 79, 216)
HSLhsl(296, 64%, 58%)
HSVhsv(296, 63%, 85%)
CMYKcmyk(3.7%, 63.4%, 0%, 15.3%)
CIE-LABlab(56.05, 67.85, -46.23)
CIE-LCHlch(56.05, 82.10, 325.73°)
OKLaboklab(65.02% 0.1856 -0.1282)
OKLCHoklch(65.02% 0.226 325.4)
XYZxyz(41.2022, 23.9622, 67.4074)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FD8 #57D84F
analogous
#8B4FD8 #D04FD8 #D84F9C
triadic
#D04FD8 #D8D04F #4FD8D0
tetradic
#D04FD8 #D88B4F #57D84F #4F9CD8
square
#D04FD8 #D88B4F #57D84F #4F9CD8
split-complementary
#D04FD8 #9CD84F #4FD88B
monochromatic
#871F8D #B72ABF #D04FD8 #DD81E3 #EBB3EE

Accessibility & contrast

On white

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

On black

5.79
#D04FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FD8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FD8#FFFFFF#000000##000000
##D04FD81.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDC
Deuteranopia (green-blind)
#698CD4
Tritanopia (blue-blind)
#D5638D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04fd8;
/* rgb */ color: rgb(208, 79, 216);
/* oklch */ color: oklch(65.0% 0.226 325.4);
Tailwind
colors: {
  custom: {
    50: '#e289e4',
    500: '#d04fd8',
    950: '#000000',
  },
}
SCSS
$custom: #d04fd8;
$custom-light: #e289e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fd8",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 296.496,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65017,
    "c": 0.22559,
    "h": 325.4
  },
  "luminance": 0.2396
}

Semantic roles & 50–950 ramp

primary
#D04FD8
secondary
#A9DDA6
accent
#E7414B
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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