#D04FD2#D04FD2

#D04FD2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.221 H 327.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D04FD2
RGBrgb(208, 79, 210)
HSLhsl(299, 59%, 57%)
HSVhsv(299, 62%, 82%)
CMYKcmyk(1%, 62.4%, 0%, 17.6%)
CIE-LABlab(55.74, 66.83, -43.31)
CIE-LCHlch(55.74, 79.63, 327.05°)
OKLaboklab(64.7% 0.1853 -0.1197)
OKLCHoklch(64.7% 0.221 327.1)
XYZxyz(40.4406, 23.6576, 63.3966)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FD2 #51D24F
analogous
#8F4FD2 #D04FD2 #D24F93
triadic
#D04FD2 #D2D04F #4FD2D0
tetradic
#D04FD2 #D28F4F #51D24F #4F93D2
square
#D04FD2 #D28F4F #51D24F #4F93D2
split-complementary
#D04FD2 #93D24F #4FD28F
monochromatic
#832285 #B32EB5 #D04FD2 #DD80DE #EAB0EB

Accessibility & contrast

On white

3.66
#D04FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D04FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FD2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FD2#FFFFFF#000000##000000
##D04FD21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#6D8BCE
Tritanopia (blue-blind)
#D6618A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04fd2;
/* rgb */ color: rgb(208, 79, 210);
/* oklch */ color: oklch(64.7% 0.221 327.1);
Tailwind
colors: {
  custom: {
    50: '#e289e0',
    500: '#d04fd2',
    950: '#000000',
  },
}
SCSS
$custom: #d04fd2;
$custom-light: #e289e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fd2",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 299.084,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64696,
    "c": 0.22065,
    "h": 327.1
  },
  "luminance": 0.23655
}

Semantic roles & 50–950 ramp

primary
#D04FD2
secondary
#A4D9A4
accent
#E24548
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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