#D04FC2#D04FC2

#D04FC2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.208 H 332.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D04FC2
RGBrgb(208, 79, 194)
HSLhsl(307, 58%, 56%)
HSVhsv(307, 62%, 82%)
CMYKcmyk(0%, 62%, 6.7%, 18.4%)
CIE-LABlab(54.97, 64.20, -35.38)
CIE-LCHlch(54.97, 73.30, 331.14°)
OKLaboklab(63.88% 0.184 -0.0969)
OKLCHoklch(63.88% 0.208 332.2)
XYZxyz(38.5460, 22.8998, 53.4184)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FC2 #4FD05D
analogous
#9E4FD0 #D04FC2 #D04F82
triadic
#D04FC2 #C2D04F #4FC2D0
tetradic
#D04FC2 #D09E4F #4FD05D #4F82D0
square
#D04FC2 #D09E4F #4FD05D #4F82D0
split-complementary
#D04FC2 #82D04F #4FD09E
monochromatic
#822378 #B230A4 #D04FC2 #DD7FD3 #EAB0E3

Accessibility & contrast

On white

3.76
#D04FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D04FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FC2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FC2#FFFFFF#000000##000000
##D04FC21.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#748ABF
Tritanopia (blue-blind)
#D85A81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d04fc2;
/* rgb */ color: rgb(208, 79, 194);
/* oklch */ color: oklch(63.9% 0.208 332.2);
Tailwind
colors: {
  custom: {
    50: '#e288d5',
    500: '#d04fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d04fc2;
$custom-light: #e288d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fc2",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 306.512,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.20793,
    "h": 332.2
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

primary
#D04FC2
secondary
#A3D8A9
accent
#E15747
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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