#D04FD5#D04FD5

#D04FD5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.223 H 326.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#D04FD5
RGBrgb(208, 79, 213)
HSLhsl(298, 61%, 57%)
HSVhsv(298, 63%, 84%)
CMYKcmyk(2.3%, 62.9%, 0%, 16.5%)
CIE-LABlab(55.90, 67.34, -44.77)
CIE-LCHlch(55.90, 80.86, 326.38°)
OKLaboklab(64.86% 0.1855 -0.124)
OKLCHoklch(64.86% 0.223 326.2)
XYZxyz(40.8179, 23.8085, 65.3835)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FD5 #54D54F
analogous
#8D4FD5 #D04FD5 #D54F97
triadic
#D04FD5 #D5D04F #4FD5D0
tetradic
#D04FD5 #D58D4F #54D54F #4F97D5
square
#D04FD5 #D58D4F #54D54F #4F97D5
split-complementary
#D04FD5 #97D54F #4FD58D
monochromatic
#852189 #B52CBA #D04FD5 #DD80E1 #EAB2ED

Accessibility & contrast

On white

3.65
#D04FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D04FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FD5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FD5#FFFFFF#000000##000000
##D04FD51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD9
Deuteranopia (green-blind)
#6B8CD1
Tritanopia (blue-blind)
#D5628B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d04fd5;
/* rgb */ color: rgb(208, 79, 213);
/* oklch */ color: oklch(64.9% 0.223 326.2);
Tailwind
colors: {
  custom: {
    50: '#e289e2',
    500: '#d04fd5',
    950: '#000000',
  },
}
SCSS
$custom: #d04fd5;
$custom-light: #e289e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fd5",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 297.761,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64856,
    "c": 0.22312,
    "h": 326.2
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#D04FD5
secondary
#A7DBA5
accent
#E54349
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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