#D778F6#D778F6

#D778F6 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.5% C 0.197 H 317.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D778F6
RGBrgb(215, 120, 246)
HSLhsl(285, 88%, 72%)
HSVhsv(285, 51%, 96%)
CMYKcmyk(12.6%, 51.2%, 0%, 3.5%)
CIE-LABlab(65.39, 56.49, -48.16)
CIE-LCHlch(65.39, 74.23, 319.55°)
OKLaboklab(72.52% 0.145 -0.1339)
OKLCHoklch(72.52% 0.197 317.3)
XYZxyz(51.3730, 34.5356, 91.1308)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778F6 #97F678
analogous
#9878F6 #D778F6 #F678D6
triadic
#D778F6 #F6D778 #78F6D7
tetradic
#D778F6 #F69878 #97F678 #78D6F6
square
#D778F6 #F69878 #97F678 #78D6F6
split-complementary
#D778F6 #D6F678 #78F698
monochromatic
#B00FE4 #C63FF2 #D778F6 #E8B1FA #F6E2FD

Accessibility & contrast

On white

2.66
#D778F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D778F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778F6
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778F6#FFFFFF#000000##000000
##D778F61.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#D68BAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d778f6;
/* rgb */ color: rgb(215, 120, 246);
/* oklch */ color: oklch(72.5% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#e6a2f9',
    500: '#d778f6',
    950: '#000000',
  },
}
SCSS
$custom: #d778f6;
$custom-light: #e6a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d778f6",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 285.238,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72519,
    "c": 0.19738,
    "h": 317.3
  },
  "luminance": 0.34534
}

Semantic roles & 50–950 ramp

primary
#D778F6
secondary
#DDF5D5
accent
#E40139
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778F6

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

Preview Lab → · Contrast checker → · Palette generator →

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