#D778CB#D778CB

#D778CB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.156 H 331.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D778CB
RGBrgb(215, 120, 203)
HSLhsl(308, 54%, 66%)
HSVhsv(308, 44%, 84%)
CMYKcmyk(0%, 44.2%, 5.6%, 15.7%)
CIE-LABlab(63.50, 48.51, -27.17)
CIE-LCHlch(63.50, 55.60, 330.74°)
OKLaboklab(70.51% 0.138 -0.0737)
OKLCHoklch(70.51% 0.156 331.9)
XYZxyz(45.5199, 32.1944, 60.3048)
Luminance0.3219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778CB #78D784
analogous
#B378D7 #D778CB #D7789B
triadic
#D778CB #CBD778 #78CBD7
tetradic
#D778CB #D7B378 #78D784 #789BD7
square
#D778CB #D7B378 #78D784 #789BD7
split-complementary
#D778CB #9BD778 #78D7B3
monochromatic
#A43195 #C949B9 #D778CB #E5A7DD #F3D6EF

Accessibility & contrast

On white

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

On black

7.44
#D778CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778CB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778CB#FFFFFF#000000##000000
##D778CB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7591CE
Deuteranopia (green-blind)
#8F9FC8
Tritanopia (blue-blind)
#DE7E98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d778cb;
/* rgb */ color: rgb(215, 120, 203);
/* oklch */ color: oklch(70.5% 0.156 331.9);
Tailwind
colors: {
  custom: {
    50: '#e5a1db',
    500: '#d778cb',
    950: '#000000',
  },
}
SCSS
$custom: #d778cb;
$custom-light: #e5a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#d778cb",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 307.579,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70506,
    "c": 0.15647,
    "h": 331.9
  },
  "luminance": 0.32192
}

Semantic roles & 50–950 ramp

primary
#D778CB
secondary
#C6E5CA
accent
#C23824
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D778CB

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

Preview Lab → · Contrast checker → · Palette generator →

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