#D04DFF#D04DFF

#D04DFF is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 67.1% C 0.261 H 315.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D04DFF
RGBrgb(208, 77, 255)
HSLhsl(284, 100%, 65%)
HSVhsv(284, 70%, 100%)
CMYKcmyk(18.4%, 69.8%, 0%, 0%)
CIE-LABlab(57.98, 75.71, -64.98)
CIE-LCHlch(57.98, 99.77, 319.36°)
OKLaboklab(67.11% 0.1866 -0.1829)
OKLCHoklch(67.11% 0.261 315.6)
XYZxyz(46.7134, 25.9394, 97.1345)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04DFF #7CFF4D
analogous
#774DFF #D04DFF #FF4DD5
triadic
#D04DFF #FFD04D #4DFFD0
tetradic
#D04DFF #FF774D #7CFF4D #4DD5FF
square
#D04DFF #FF774D #7CFF4D #4DD5FF
split-complementary
#D04DFF #D5FF4D #4DFF77
monochromatic
#9A00D2 #C010FF #D04DFF #E08AFF #F0C7FF

Accessibility & contrast

On white

3.39
#D04DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D04DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04DFF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04DFF#FFFFFF#000000##000000
##D04DFF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#CD72A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d04dff;
/* rgb */ color: rgb(208, 77, 255);
/* oklch */ color: oklch(67.1% 0.261 315.6);
Tailwind
colors: {
  custom: {
    50: '#e389ff',
    500: '#d04dff',
    950: '#000000',
  },
}
SCSS
$custom: #d04dff;
$custom-light: #e389ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d04dff",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 284.157,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67112,
    "c": 0.26127,
    "h": 315.6
  },
  "luminance": 0.25938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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