#D04FE5#D04FE5

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

Color values

HEX#D04FE5
RGBrgb(208, 79, 229)
HSLhsl(292, 74%, 60%)
HSVhsv(292, 66%, 90%)
CMYKcmyk(9.2%, 65.5%, 0%, 10.2%)
CIE-LABlab(56.74, 70.14, -52.47)
CIE-LCHlch(56.74, 87.59, 323.20°)
OKLaboklab(65.74% 0.1858 -0.1463)
OKLCHoklch(65.74% 0.237 321.8)
XYZxyz(42.9497, 24.6613, 76.6113)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FE5 #64E54F
analogous
#854FE5 #D04FE5 #E54FAF
triadic
#D04FE5 #E5D04F #4FE5D0
tetradic
#D04FE5 #E5854F #64E54F #4FAFE5
square
#D04FE5 #E5854F #64E54F #4FAFE5
split-complementary
#D04FE5 #AFE54F #4FE585
monochromatic
#8E18A2 #BD20D7 #D04FE5 #DE84ED #ECBAF5

Accessibility & contrast

On white

3.54
#D04FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D04FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FE5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FE5#FFFFFF#000000##000000
##D04FE51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FE9
Deuteranopia (green-blind)
#618DE1
Tritanopia (blue-blind)
#D26894
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d04fe5;
/* rgb */ color: rgb(208, 79, 229);
/* oklch */ color: oklch(65.7% 0.237 321.8);
Tailwind
colors: {
  custom: {
    50: '#e289ee',
    500: '#d04fe5',
    950: '#000000',
  },
}
SCSS
$custom: #d04fe5;
$custom-light: #e289ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fe5",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 291.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65742,
    "c": 0.23652,
    "h": 321.8
  },
  "luminance": 0.24659
}

Semantic roles & 50–950 ramp

primary
#D04FE5
secondary
#B3E5AB
accent
#D60F2B
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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