#D778F0#D778F0

#D778F0 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.2% C 0.191 H 319.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D778F0
RGBrgb(215, 120, 240)
HSLhsl(288, 80%, 71%)
HSVhsv(288, 50%, 94%)
CMYKcmyk(10.4%, 50%, 0%, 5.9%)
CIE-LABlab(65.10, 55.31, -45.30)
CIE-LCHlch(65.10, 71.50, 320.68°)
OKLaboklab(72.21% 0.1443 -0.1256)
OKLCHoklch(72.21% 0.191 319)
XYZxyz(50.4669, 34.1732, 86.3589)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778F0 #91F078
analogous
#9B78F0 #D778F0 #F078CD
triadic
#D778F0 #F0D778 #78F0D7
tetradic
#D778F0 #F09B78 #91F078 #78CDF0
square
#D778F0 #F09B78 #91F078 #78CDF0
split-complementary
#D778F0 #CDF078 #78F09B
monochromatic
#AE18D6 #C741EA #D778F0 #E7AFF6 #F7E3FC

Accessibility & contrast

On white

2.68
#D778F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D778F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778F0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778F0#FFFFFF#000000##000000
##D778F01.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F4
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#D789A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d778f0;
/* rgb */ color: rgb(215, 120, 240);
/* oklch */ color: oklch(72.2% 0.191 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6a2f5',
    500: '#d778f0',
    950: '#000000',
  },
}
SCSS
$custom: #d778f0;
$custom-light: #e6a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d778f0",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 287.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72215,
    "c": 0.19135,
    "h": 319
  },
  "luminance": 0.34171
}

Semantic roles & 50–950 ramp

primary
#D778F0
secondary
#D8F2D2
accent
#DC0935
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778F0

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

Preview Lab → · Contrast checker → · Palette generator →

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