#D04FF4#D04FF4

#D04FF4 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.6% C 0.249 H 318.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D04FF4
RGBrgb(208, 79, 244)
HSLhsl(287, 88%, 63%)
HSVhsv(287, 68%, 96%)
CMYKcmyk(14.8%, 67.6%, 0%, 4.3%)
CIE-LABlab(57.59, 72.87, -59.50)
CIE-LCHlch(57.59, 94.08, 320.77°)
OKLaboklab(66.63% 0.1854 -0.1669)
OKLCHoklch(66.63% 0.249 318)
XYZxyz(45.1353, 25.5355, 88.1218)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FF4 #73F44F
analogous
#7D4FF4 #D04FF4 #F44FC5
triadic
#D04FF4 #F4D04F #4FF4D0
tetradic
#D04FF4 #F47D4F #73F44F #4FC5F4
square
#D04FF4 #F47D4F #73F44F #4FC5F4
split-complementary
#D04FF4 #C5F44F #4FF47D
monochromatic
#960CBD #C115F0 #D04FF4 #DF89F8 #EFC2FB

Accessibility & contrast

On white

3.44
#D04FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D04FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FF4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FF4#FFFFFF#000000##000000
##D04FF41.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#568EF0
Tritanopia (blue-blind)
#CF6E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d04ff4;
/* rgb */ color: rgb(208, 79, 244);
/* oklch */ color: oklch(66.6% 0.249 318.0);
Tailwind
colors: {
  custom: {
    50: '#e28af8',
    500: '#d04ff4',
    950: '#000000',
  },
}
SCSS
$custom: #d04ff4;
$custom-light: #e28af8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ff4",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 286.909,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66626,
    "c": 0.24942,
    "h": 318
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#D04FF4
secondary
#BFEDB2
accent
#E50132
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #D04FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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