#D04FE2#D04FE2

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

Color values

HEX#D04FE2
RGBrgb(208, 79, 226)
HSLhsl(293, 72%, 60%)
HSVhsv(293, 65%, 89%)
CMYKcmyk(8%, 65%, 0%, 11.4%)
CIE-LABlab(56.58, 69.60, -51.04)
CIE-LCHlch(56.58, 86.31, 323.75°)
OKLaboklab(65.57% 0.1858 -0.1422)
OKLCHoklch(65.57% 0.234 322.6)
XYZxyz(42.5345, 24.4952, 74.4244)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FE2 #61E24F
analogous
#874FE2 #D04FE2 #E24FAB
triadic
#D04FE2 #E2D04F #4FE2D0
tetradic
#D04FE2 #E2874F #61E24F #4FABE2
square
#D04FE2 #E2874F #61E24F #4FABE2
split-complementary
#D04FE2 #ABE24F #4FE287
monochromatic
#8D1A9D #BC22D1 #D04FE2 #DE84EB #ECB8F3

Accessibility & contrast

On white

3.56
#D04FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D04FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FE2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FE2#FFFFFF#000000##000000
##D04FE21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#297EE6
Deuteranopia (green-blind)
#638DDE
Tritanopia (blue-blind)
#D36792
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d04fe2;
/* rgb */ color: rgb(208, 79, 226);
/* oklch */ color: oklch(65.6% 0.234 322.6);
Tailwind
colors: {
  custom: {
    50: '#e289ec',
    500: '#d04fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d04fe2;
$custom-light: #e289ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fe2",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 292.653,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.23398,
    "h": 322.6
  },
  "luminance": 0.24493
}

Semantic roles & 50–950 ramp

primary
#D04FE2
secondary
#B1E3AA
accent
#EE3950
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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