#D778E7#D778E7

#D778E7 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.182 H 321.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D778E7
RGBrgb(215, 120, 231)
HSLhsl(291, 70%, 69%)
HSVhsv(291, 48%, 91%)
CMYKcmyk(6.9%, 48.1%, 0%, 9.4%)
CIE-LABlab(64.69, 53.58, -40.98)
CIE-LCHlch(64.69, 67.45, 322.59°)
OKLaboklab(71.77% 0.1432 -0.1131)
OKLCHoklch(71.77% 0.182 321.7)
XYZxyz(49.1630, 33.6516, 79.4916)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778E7 #88E778
analogous
#A078E7 #D778E7 #E778C0
triadic
#D778E7 #E7D778 #78E7D7
tetradic
#D778E7 #E7A078 #88E778 #78C0E7
square
#D778E7 #E7A078 #88E778 #78C0E7
split-complementary
#D778E7 #C0E778 #78E7A0
monochromatic
#AB23C2 #C844DE #D778E7 #E6ACF0 #F6E0F9

Accessibility & contrast

On white

2.72
#D778E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D778E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778E7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778E7#FFFFFF#000000##000000
##D778E71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6896EB
Deuteranopia (green-blind)
#84A1E4
Tritanopia (blue-blind)
#D986A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d778e7;
/* rgb */ color: rgb(215, 120, 231);
/* oklch */ color: oklch(71.8% 0.182 321.7);
Tailwind
colors: {
  custom: {
    50: '#e5a2ef',
    500: '#d778e7',
    950: '#000000',
  },
}
SCSS
$custom: #d778e7;
$custom-light: #e5a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d778e7",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 291.351,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71773,
    "c": 0.18246,
    "h": 321.7
  },
  "luminance": 0.3365
}

Semantic roles & 50–950 ramp

primary
#D778E7
secondary
#D2EECD
accent
#D2142F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D778E7

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

Preview Lab → · Contrast checker → · Palette generator →

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