#D778ED#D778ED

#D778ED is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.1% C 0.188 H 319.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D778ED
RGBrgb(215, 120, 237)
HSLhsl(289, 76%, 70%)
HSVhsv(289, 49%, 93%)
CMYKcmyk(9.3%, 49.4%, 0%, 7.1%)
CIE-LABlab(64.96, 54.73, -43.87)
CIE-LCHlch(64.96, 70.14, 321.29°)
OKLaboklab(72.07% 0.144 -0.1215)
OKLCHoklch(72.07% 0.188 319.8)
XYZxyz(50.0250, 33.9964, 84.0312)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778ED #8EED78
analogous
#9C78ED #D778ED #ED78C9
triadic
#D778ED #EDD778 #78EDD7
tetradic
#D778ED #ED9C78 #8EED78 #78C9ED
square
#D778ED #ED9C78 #8EED78 #78C9ED
split-complementary
#D778ED #C9ED78 #78ED9C
monochromatic
#AD1CCF #C742E6 #D778ED #E7AEF4 #F7E4FB

Accessibility & contrast

On white

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

On black

7.80
#D778ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778ED
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778ED#FFFFFF#000000##000000
##D778ED1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F1
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#D888A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d778ed;
/* rgb */ color: rgb(215, 120, 237);
/* oklch */ color: oklch(72.1% 0.188 319.8);
Tailwind
colors: {
  custom: {
    50: '#e5a2f3',
    500: '#d778ed',
    950: '#000000',
  },
}
SCSS
$custom: #d778ed;
$custom-light: #e5a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ed",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 288.718,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.72066,
    "c": 0.18837,
    "h": 319.8
  },
  "luminance": 0.33994
}

Semantic roles & 50–950 ramp

primary
#D778ED
secondary
#D6F1D0
accent
#D90D33
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778ED

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

Preview Lab → · Contrast checker → · Palette generator →

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