#D778F7#D778F7

#D778F7 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.6% C 0.198 H 317.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#D778F7
RGBrgb(215, 120, 247)
HSLhsl(285, 89%, 72%)
HSVhsv(285, 51%, 97%)
CMYKcmyk(13%, 51.4%, 0%, 3.1%)
CIE-LABlab(65.43, 56.69, -48.63)
CIE-LCHlch(65.43, 74.69, 319.37°)
OKLaboklab(72.57% 0.1451 -0.1353)
OKLCHoklch(72.57% 0.198 317)
XYZxyz(51.5269, 34.5971, 91.9413)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778F7 #98F778
analogous
#9878F7 #D778F7 #F778D8
triadic
#D778F7 #F7D778 #78F7D7
tetradic
#D778F7 #F79878 #98F778 #78D8F7
square
#D778F7 #F79878 #98F778 #78D8F7
split-complementary
#D778F7 #D8F778 #78F798
monochromatic
#B00EE7 #C63EF4 #D778F7 #E8B2FA #F6E2FD

Accessibility & contrast

On white

2.65
#D778F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#D778F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778F7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778F7#FFFFFF#000000##000000
##D778F71.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#D68BAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d778f7;
/* rgb */ color: rgb(215, 120, 247);
/* oklch */ color: oklch(72.6% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#e6a2fa',
    500: '#d778f7',
    950: '#000000',
  },
}
SCSS
$custom: #d778f7;
$custom-light: #e6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d778f7",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 284.882,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72571,
    "c": 0.19838,
    "h": 317
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#D778F7
secondary
#DEF5D5
accent
#E5003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778F7

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

Preview Lab → · Contrast checker → · Palette generator →

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