#D04FE1#D04FE1

#D04FE1 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.233 H 322.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D04FE1
RGBrgb(208, 79, 225)
HSLhsl(293, 71%, 60%)
HSVhsv(293, 65%, 88%)
CMYKcmyk(7.6%, 64.9%, 0%, 11.8%)
CIE-LABlab(56.53, 69.42, -50.56)
CIE-LCHlch(56.53, 85.88, 323.93°)
OKLaboklab(65.52% 0.1858 -0.1408)
OKLCHoklch(65.52% 0.233 322.9)
XYZxyz(42.3977, 24.4404, 73.7038)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FE1 #60E14F
analogous
#874FE1 #D04FE1 #E14FA9
triadic
#D04FE1 #E1D04F #4FE1D0
tetradic
#D04FE1 #E1874F #60E14F #4FA9E1
square
#D04FE1 #E1874F #60E14F #4FA9E1
split-complementary
#D04FE1 #A9E14F #4FE187
monochromatic
#8C1A9B #BB23CF #D04FE1 #DE83EA #ECB8F3

Accessibility & contrast

On white

3.57
#D04FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#D04FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FE1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FE1#FFFFFF#000000##000000
##D04FE11.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE5
Deuteranopia (green-blind)
#648DDD
Tritanopia (blue-blind)
#D36792
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d04fe1;
/* rgb */ color: rgb(208, 79, 225);
/* oklch */ color: oklch(65.5% 0.233 322.9);
Tailwind
colors: {
  custom: {
    50: '#e289eb',
    500: '#d04fe1',
    950: '#000000',
  },
}
SCSS
$custom: #d04fe1;
$custom-light: #e289eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fe1",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 293.014,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65515,
    "c": 0.23313,
    "h": 322.9
  },
  "luminance": 0.24438
}

Semantic roles & 50–950 ramp

primary
#D04FE1
secondary
#B0E2AA
accent
#EE3A4F
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D04FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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