#D04FBC#D04FBC

#D04FBC is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.203 H 334.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D04FBC
RGBrgb(208, 79, 188)
HSLhsl(309, 58%, 56%)
HSVhsv(309, 62%, 82%)
CMYKcmyk(0%, 62%, 9.6%, 18.4%)
CIE-LABlab(54.70, 63.25, -32.35)
CIE-LCHlch(54.70, 71.05, 332.91°)
OKLaboklab(63.59% 0.1832 -0.0882)
OKLCHoklch(63.59% 0.203 334.3)
XYZxyz(37.8857, 22.6357, 49.9409)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04FBC #4FD063
analogous
#A44FD0 #D04FBC #D04F7C
triadic
#D04FBC #BCD04F #4FBCD0
tetradic
#D04FBC #D0A44F #4FD063 #4F7CD0
square
#D04FBC #D0A44F #4FD063 #4F7CD0
split-complementary
#D04FBC #7CD04F #4FD0A4
monochromatic
#822373 #B2309E #D04FBC #DD7FCE #EAB0E1

Accessibility & contrast

On white

3.80
#D04FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D04FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04FBC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04FBC#FFFFFF#000000##000000
##D04FBC1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77BF
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#D9587E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04fbc;
/* rgb */ color: rgb(208, 79, 188);
/* oklch */ color: oklch(63.6% 0.203 334.3);
Tailwind
colors: {
  custom: {
    50: '#e288d0',
    500: '#d04fbc',
    950: '#000000',
  },
}
SCSS
$custom: #d04fbc;
$custom-light: #e288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04fbc",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 309.302,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63592,
    "c": 0.20336,
    "h": 334.3
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#D04FBC
secondary
#A3D8AB
accent
#E15F47
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D04FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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