#D778CF#D778CF

#D778CF is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.160 H 330.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D778CF
RGBrgb(215, 120, 207)
HSLhsl(305, 54%, 66%)
HSVhsv(305, 44%, 84%)
CMYKcmyk(0%, 44.2%, 3.7%, 15.7%)
CIE-LABlab(63.66, 49.20, -29.17)
CIE-LCHlch(63.66, 57.20, 329.33°)
OKLaboklab(70.68% 0.1389 -0.0794)
OKLCHoklch(70.68% 0.16 330.2)
XYZxyz(46.0028, 32.3875, 62.8477)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778CF #78D780
analogous
#AF78D7 #D778CF #D7789F
triadic
#D778CF #CFD778 #78CFD7
tetradic
#D778CF #D7AF78 #78D780 #789FD7
square
#D778CF #D7AF78 #78D780 #789FD7
split-complementary
#D778CF #9FD778 #78D7AF
monochromatic
#A4319A #C949BE #D778CF #E5A7E0 #F3D6F1

Accessibility & contrast

On white

2.81
#D778CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D778CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778CF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778CF#FFFFFF#000000##000000
##D778CF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D2
Deuteranopia (green-blind)
#8E9FCC
Tritanopia (blue-blind)
#DE7F9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d778cf;
/* rgb */ color: rgb(215, 120, 207);
/* oklch */ color: oklch(70.7% 0.160 330.2);
Tailwind
colors: {
  custom: {
    50: '#e5a2de',
    500: '#d778cf',
    950: '#000000',
  },
}
SCSS
$custom: #d778cf;
$custom-light: #e5a2de;
$custom-dark: #000000;
JSON
{
  "hex": "#d778cf",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 305.053,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.15998,
    "h": 330.2
  },
  "luminance": 0.32385
}

Semantic roles & 50–950 ramp

primary
#D778CF
secondary
#C6E5C8
accent
#C23124
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D778CF

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

Preview Lab → · Contrast checker → · Palette generator →

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