#D778CA#D778CA

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

Color values

HEX#D778CA
RGBrgb(215, 120, 202)
HSLhsl(308, 54%, 66%)
HSVhsv(308, 44%, 84%)
CMYKcmyk(0%, 44.2%, 6%, 15.7%)
CIE-LABlab(63.46, 48.33, -26.67)
CIE-LCHlch(63.46, 55.20, 331.11°)
OKLaboklab(70.46% 0.1378 -0.0723)
OKLCHoklch(70.46% 0.156 332.3)
XYZxyz(45.4012, 32.1469, 59.6792)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778CA #78D785
analogous
#B578D7 #D778CA #D7789A
triadic
#D778CA #CAD778 #78CAD7
tetradic
#D778CA #D7B578 #78D785 #789AD7
square
#D778CA #D7B578 #78D785 #789AD7
split-complementary
#D778CA #9AD778 #78D7B5
monochromatic
#A43194 #C949B7 #D778CA #E5A7DD #F3D6EF

Accessibility & contrast

On white

2.83
#D778CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D778CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778CA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778CA#FFFFFF#000000##000000
##D778CA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CD
Deuteranopia (green-blind)
#8F9FC7
Tritanopia (blue-blind)
#DE7E98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d778ca;
/* rgb */ color: rgb(215, 120, 202);
/* oklch */ color: oklch(70.5% 0.156 332.3);
Tailwind
colors: {
  custom: {
    50: '#e5a1da',
    500: '#d778ca',
    950: '#000000',
  },
}
SCSS
$custom: #d778ca;
$custom-light: #e5a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ca",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 308.211,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.15561,
    "h": 332.3
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#D778CA
secondary
#C6E5CA
accent
#C23924
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D778CA

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

Preview Lab → · Contrast checker → · Palette generator →

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