#D04FE6#D04FE6

#D04FE6 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.237 H 321.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D04FE6
RGBrgb(208, 79, 230)
HSLhsl(291, 75%, 61%)
HSVhsv(291, 66%, 90%)
CMYKcmyk(9.6%, 65.7%, 0%, 9.8%)
CIE-LABlab(56.80, 70.32, -52.94)
CIE-LCHlch(56.80, 88.02, 323.02°)
OKLaboklab(65.8% 0.1858 -0.1477)
OKLCHoklch(65.8% 0.237 321.5)
XYZxyz(43.0898, 24.7173, 77.3488)
Luminance0.2472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FE6 #65E64F
analogous
#844FE6 #D04FE6 #E64FB1
triadic
#D04FE6 #E6D04F #4FE6D0
tetradic
#D04FE6 #E6844F #65E64F #4FB1E6
square
#D04FE6 #E6844F #65E64F #4FB1E6
split-complementary
#D04FE6 #B1E64F #4FE684
monochromatic
#8F17A3 #BE1FD9 #D04FE6 #DE85EE #EDBAF5

Accessibility & contrast

On white

3.53
#D04FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D04FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FE6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FE6#FFFFFF#000000##000000
##D04FE61.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#227FEA
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#D26994
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d04fe6;
/* rgb */ color: rgb(208, 79, 230);
/* oklch */ color: oklch(65.8% 0.237 321.5);
Tailwind
colors: {
  custom: {
    50: '#e28aee',
    500: '#d04fe6',
    950: '#000000',
  },
}
SCSS
$custom: #d04fe6;
$custom-light: #e28aee;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fe6",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 291.258,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.658,
    "c": 0.23737,
    "h": 321.5
  },
  "luminance": 0.24715
}

Semantic roles & 50–950 ramp

primary
#D04FE6
secondary
#B4E5AC
accent
#D70E2C
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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