#D04FFF#D04FFF

#D04FFF is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.3% C 0.259 H 315.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D04FFF
RGBrgb(208, 79, 255)
HSLhsl(284, 100%, 65%)
HSVhsv(284, 69%, 100%)
CMYKcmyk(18.4%, 69%, 0%, 0%)
CIE-LABlab(58.25, 74.94, -64.55)
CIE-LCHlch(58.25, 98.91, 319.26°)
OKLaboklab(67.3% 0.1846 -0.1817)
OKLCHoklch(67.3% 0.259 315.5)
XYZxyz(46.8555, 26.2236, 97.1818)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FFF #7EFF4F
analogous
#784FFF #D04FFF #FF4FD6
triadic
#D04FFF #FFD04F #4FFFD0
tetradic
#D04FFF #FF784F #7EFF4F #4FD6FF
square
#D04FFF #FF784F #7EFF4F #4FD6FF
split-complementary
#D04FFF #D6FF4F #4FFF78
monochromatic
#9B00D4 #C012FF #D04FFF #E08CFF #F1C9FF

Accessibility & contrast

On white

3.36
#D04FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#D04FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FFF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FFF#FFFFFF#000000##000000
##D04FFF1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#CC73A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d04fff;
/* rgb */ color: rgb(208, 79, 255);
/* oklch */ color: oklch(67.3% 0.259 315.5);
Tailwind
colors: {
  custom: {
    50: '#e38aff',
    500: '#d04fff',
    950: '#000000',
  },
}
SCSS
$custom: #d04fff;
$custom-light: #e38aff;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fff",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 283.977,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67304,
    "c": 0.25901,
    "h": 315.5
  },
  "luminance": 0.26222
}

Semantic roles & 50–950 ramp

primary
#D04FFF
secondary
#C7F2B7
accent
#E6003D
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #D04FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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