#D778F9#D778F9

#D778F9 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.7% C 0.200 H 316.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D778F9
RGBrgb(215, 120, 249)
HSLhsl(284, 91%, 72%)
HSVhsv(284, 52%, 98%)
CMYKcmyk(13.7%, 51.8%, 0%, 2.4%)
CIE-LABlab(65.53, 57.08, -49.58)
CIE-LCHlch(65.53, 75.61, 319.02°)
OKLaboklab(72.67% 0.1453 -0.138)
OKLCHoklch(72.67% 0.2 316.5)
XYZxyz(51.8371, 34.7213, 93.5754)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778F9 #9AF978
analogous
#9778F9 #D778F9 #F978DB
triadic
#D778F9 #F9D778 #78F9D7
tetradic
#D778F9 #F99778 #9AF978 #78DBF9
square
#D778F9 #F99778 #9AF978 #78DBF9
split-complementary
#D778F9 #DBF978 #78F997
monochromatic
#B10AEC #C63DF6 #D778F9 #E8B3FC #F6E2FE

Accessibility & contrast

On white

2.64
#D778F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D778F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778F9
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778F9#FFFFFF#000000##000000
##D778F91.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C99FD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#D68CAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d778f9;
/* rgb */ color: rgb(215, 120, 249);
/* oklch */ color: oklch(72.7% 0.200 316.5);
Tailwind
colors: {
  custom: {
    50: '#e6a2fc',
    500: '#d778f9',
    950: '#000000',
  },
}
SCSS
$custom: #d778f9;
$custom-light: #e6a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d778f9",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 284.186,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72674,
    "c": 0.2004,
    "h": 316.5
  },
  "luminance": 0.3472
}

Semantic roles & 50–950 ramp

primary
#D778F9
secondary
#DEF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778F9

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

Preview Lab → · Contrast checker → · Palette generator →

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