#D04FE3#D04FE3

#D04FE3 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.6% C 0.235 H 322.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D04FE3
RGBrgb(208, 79, 227)
HSLhsl(292, 73%, 60%)
HSVhsv(292, 65%, 89%)
CMYKcmyk(8.4%, 65.2%, 0%, 11%)
CIE-LABlab(56.63, 69.78, -51.51)
CIE-LCHlch(56.63, 86.73, 323.56°)
OKLaboklab(65.63% 0.1858 -0.1436)
OKLCHoklch(65.63% 0.235 322.3)
XYZxyz(42.6721, 24.5502, 75.1491)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FE3 #62E34F
analogous
#864FE3 #D04FE3 #E34FAC
triadic
#D04FE3 #E3D04F #4FE3D0
tetradic
#D04FE3 #E3864F #62E34F #4FACE3
square
#D04FE3 #E3864F #62E34F #4FACE3
split-complementary
#D04FE3 #ACE34F #4FE386
monochromatic
#8D199E #BC22D3 #D04FE3 #DE84EB #ECB9F4

Accessibility & contrast

On white

3.55
#D04FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D04FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FE3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FE3#FFFFFF#000000##000000
##D04FE31.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE7
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#D36793
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d04fe3;
/* rgb */ color: rgb(208, 79, 227);
/* oklch */ color: oklch(65.6% 0.235 322.3);
Tailwind
colors: {
  custom: {
    50: '#e289ec',
    500: '#d04fe3',
    950: '#000000',
  },
}
SCSS
$custom: #d04fe3;
$custom-light: #e289ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fe3",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 292.297,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.65628,
    "c": 0.23482,
    "h": 322.3
  },
  "luminance": 0.24548
}

Semantic roles & 50–950 ramp

primary
#D04FE3
secondary
#B2E3AA
accent
#EF3950
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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