#D04BC7#D04BC7

#D04BC7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.217 H 330.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D04BC7
RGBrgb(208, 75, 199)
HSLhsl(304, 59%, 55%)
HSVhsv(304, 64%, 82%)
CMYKcmyk(0%, 63.9%, 4.3%, 18.4%)
CIE-LABlab(54.63, 66.61, -38.79)
CIE-LCHlch(54.63, 77.08, 329.79°)
OKLaboklab(63.71% 0.1891 -0.1066)
OKLCHoklch(63.71% 0.217 330.6)
XYZxyz(38.8371, 22.5684, 56.3324)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BC7 #4BD054
analogous
#964BD0 #D04BC7 #D04B84
triadic
#D04BC7 #C7D04B #4BC7D0
tetradic
#D04BC7 #D0964B #4BD054 #4B84D0
square
#D04BC7 #D0964B #4BD054 #4B84D0
split-complementary
#D04BC7 #84D04B #4BD096
monochromatic
#7F2179 #B02EA7 #D04BC7 #DD7CD6 #E9ACE5

Accessibility & contrast

On white

3.81
#D04BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D04BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BC7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BC7#FFFFFF#000000##000000
##D04BC71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#7089C4
Tritanopia (blue-blind)
#D85983
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d04bc7;
/* rgb */ color: rgb(208, 75, 199);
/* oklch */ color: oklch(63.7% 0.217 330.6);
Tailwind
colors: {
  custom: {
    50: '#e287d8',
    500: '#d04bc7',
    950: '#000000',
  },
}
SCSS
$custom: #d04bc7;
$custom-light: #e287d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d04bc7",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 304.06,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.21712,
    "h": 330.6
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#D04BC7
secondary
#A0D7A3
accent
#E25146
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D04BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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