#D778EE#D778EE

#D778EE is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.1% C 0.189 H 319.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D778EE
RGBrgb(215, 120, 238)
HSLhsl(288, 78%, 70%)
HSVhsv(288, 50%, 93%)
CMYKcmyk(9.7%, 49.6%, 0%, 6.7%)
CIE-LABlab(65.01, 54.92, -44.35)
CIE-LCHlch(65.01, 70.59, 321.08°)
OKLaboklab(72.11% 0.1441 -0.1228)
OKLCHoklch(72.11% 0.189 319.6)
XYZxyz(50.1715, 34.0550, 84.8028)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778EE #8FEE78
analogous
#9C78EE #D778EE #EE78CA
triadic
#D778EE #EED778 #78EED7
tetradic
#D778EE #EE9C78 #8FEE78 #78CAEE
square
#D778EE #EE9C78 #8FEE78 #78CAEE
split-complementary
#D778EE #CAEE78 #78EE9C
monochromatic
#AE1AD1 #C742E7 #D778EE #E7AEF5 #F7E4FC

Accessibility & contrast

On white

2.69
#D778EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D778EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778EE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778EE#FFFFFF#000000##000000
##D778EE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#D888A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d778ee;
/* rgb */ color: rgb(215, 120, 238);
/* oklch */ color: oklch(72.1% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#e5a2f4',
    500: '#d778ee',
    950: '#000000',
  },
}
SCSS
$custom: #d778ee;
$custom-light: #e5a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ee",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 288.305,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72115,
    "c": 0.18936,
    "h": 319.6
  },
  "luminance": 0.34053
}

Semantic roles & 50–950 ramp

primary
#D778EE
secondary
#D7F1D1
accent
#DA0C34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778EE

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

Preview Lab → · Contrast checker → · Palette generator →

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