#D778CE#D778CE

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

Color values

HEX#D778CE
RGBrgb(215, 120, 206)
HSLhsl(306, 54%, 66%)
HSVhsv(306, 44%, 84%)
CMYKcmyk(0%, 44.2%, 4.2%, 15.7%)
CIE-LABlab(63.62, 49.03, -28.67)
CIE-LCHlch(63.62, 56.80, 329.68°)
OKLaboklab(70.63% 0.1387 -0.078)
OKLCHoklch(70.63% 0.159 330.7)
XYZxyz(45.8809, 32.3388, 62.2059)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778CE #78D781
analogous
#B078D7 #D778CE #D7789E
triadic
#D778CE #CED778 #78CED7
tetradic
#D778CE #D7B078 #78D781 #789ED7
square
#D778CE #D7B078 #78D781 #789ED7
split-complementary
#D778CE #9ED778 #78D7B0
monochromatic
#A43199 #C949BD #D778CE #E5A7DF #F3D6F0

Accessibility & contrast

On white

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

On black

7.47
#D778CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778CE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778CE#FFFFFF#000000##000000
##D778CE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d778ce;
/* rgb */ color: rgb(215, 120, 206);
/* oklch */ color: oklch(70.6% 0.159 330.7);
Tailwind
colors: {
  custom: {
    50: '#e5a1dd',
    500: '#d778ce',
    950: '#000000',
  },
}
SCSS
$custom: #d778ce;
$custom-light: #e5a1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ce",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 305.684,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70633,
    "c": 0.15909,
    "h": 330.7
  },
  "luminance": 0.32336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D778CE

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

Preview Lab → · Contrast checker → · Palette generator →

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