#D04FCF#D04FCF

#D04FCF is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.218 H 328.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D04FCF
RGBrgb(208, 79, 207)
HSLhsl(300, 58%, 56%)
HSVhsv(300, 62%, 82%)
CMYKcmyk(0%, 62%, 0.5%, 18.4%)
CIE-LABlab(55.59, 66.32, -41.84)
CIE-LCHlch(55.59, 78.42, 327.75°)
OKLaboklab(64.54% 0.1852 -0.1155)
OKLCHoklch(64.54% 0.218 328.1)
XYZxyz(40.0704, 23.5095, 61.4466)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FCF #4FD050
analogous
#914FD0 #D04FCF #D04F8F
triadic
#D04FCF #CFD04F #4FCFD0
tetradic
#D04FCF #D0914F #4FD050 #4F8FD0
square
#D04FCF #D0914F #4FD050 #4F8FD0
split-complementary
#D04FCF #8FD04F #4FD091
monochromatic
#822381 #B230B1 #D04FCF #DD7FDC #EAB0E9

Accessibility & contrast

On white

3.68
#D04FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D04FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FCF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FCF#FFFFFF#000000##000000
##D04FCF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407AD3
Deuteranopia (green-blind)
#6E8BCB
Tritanopia (blue-blind)
#D65F88
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d04fcf;
/* rgb */ color: rgb(208, 79, 207);
/* oklch */ color: oklch(64.5% 0.218 328.1);
Tailwind
colors: {
  custom: {
    50: '#e289de',
    500: '#d04fcf',
    950: '#000000',
  },
}
SCSS
$custom: #d04fcf;
$custom-light: #e289de;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fcf",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 300.465,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64539,
    "c": 0.21821,
    "h": 328.1
  },
  "luminance": 0.23507
}

Semantic roles & 50–950 ramp

primary
#D04FCF
secondary
#A3D8A3
accent
#E14847
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D04FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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