#D778CD#D778CD

#D778CD is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.158 H 331.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D778CD
RGBrgb(215, 120, 205)
HSLhsl(306, 54%, 66%)
HSVhsv(306, 44%, 84%)
CMYKcmyk(0%, 44.2%, 4.7%, 15.7%)
CIE-LABlab(63.58, 48.85, -28.17)
CIE-LCHlch(63.58, 56.39, 330.03°)
OKLaboklab(70.59% 0.1385 -0.0766)
OKLCHoklch(70.59% 0.158 331.1)
XYZxyz(45.7598, 32.2903, 61.5681)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778CD #78D782
analogous
#B178D7 #D778CD #D7789D
triadic
#D778CD #CDD778 #78CDD7
tetradic
#D778CD #D7B178 #78D782 #789DD7
square
#D778CD #D7B178 #78D782 #789DD7
split-complementary
#D778CD #9DD778 #78D7B1
monochromatic
#A43198 #C949BC #D778CD #E5A7DE #F3D6F0

Accessibility & contrast

On white

2.82
#D778CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D778CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778CD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778CD#FFFFFF#000000##000000
##D778CD1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7492D0
Deuteranopia (green-blind)
#8E9FCA
Tritanopia (blue-blind)
#DE7F99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d778cd;
/* rgb */ color: rgb(215, 120, 205);
/* oklch */ color: oklch(70.6% 0.158 331.1);
Tailwind
colors: {
  custom: {
    50: '#e5a1dc',
    500: '#d778cd',
    950: '#000000',
  },
}
SCSS
$custom: #d778cd;
$custom-light: #e5a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d778cd",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 306.316,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.15821,
    "h": 331.1
  },
  "luminance": 0.32288
}

Semantic roles & 50–950 ramp

primary
#D778CD
secondary
#C6E5C9
accent
#C23424
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D778CD

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

Preview Lab → · Contrast checker → · Palette generator →

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