#D04EF5#D04EF5

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

Color values

HEX#D04EF5
RGBrgb(208, 78, 245)
HSLhsl(287, 89%, 63%)
HSVhsv(287, 68%, 96%)
CMYKcmyk(15.1%, 68.2%, 0%, 3.9%)
CIE-LABlab(57.51, 73.45, -60.18)
CIE-LCHlch(57.51, 94.95, 320.67°)
OKLaboklab(66.59% 0.1863 -0.1689)
OKLCHoklch(66.59% 0.251 317.8)
XYZxyz(45.2159, 25.4532, 88.8997)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EF5 #73F54E
analogous
#7C4EF5 #D04EF5 #F54EC6
triadic
#D04EF5 #F5D04E #4EF5D0
tetradic
#D04EF5 #F57C4E #73F54E #4EC6F5
square
#D04EF5 #F57C4E #73F54E #4EC6F5
split-complementary
#D04EF5 #C6F54E #4EF57C
monochromatic
#960BBE #C114F2 #D04EF5 #DF88F8 #EFC2FC

Accessibility & contrast

On white

3.45
#D04EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D04EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EF5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EF5#FFFFFF#000000##000000
##D04EF51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#CF6E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d04ef5;
/* rgb */ color: rgb(208, 78, 245);
/* oklch */ color: oklch(66.6% 0.251 317.8);
Tailwind
colors: {
  custom: {
    50: '#e289f9',
    500: '#d04ef5',
    950: '#000000',
  },
}
SCSS
$custom: #d04ef5;
$custom-light: #e289f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ef5",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 286.707,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66588,
    "c": 0.25147,
    "h": 317.8
  },
  "luminance": 0.25451
}

Semantic roles & 50–950 ramp

primary
#D04EF5
secondary
#BFEDB2
accent
#E60033
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #D04EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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