#D778F8#D778F8

#D778F8 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.199 H 316.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D778F8
RGBrgb(215, 120, 248)
HSLhsl(285, 90%, 72%)
HSVhsv(285, 52%, 97%)
CMYKcmyk(13.3%, 51.6%, 0%, 2.7%)
CIE-LABlab(65.48, 56.89, -49.11)
CIE-LCHlch(65.48, 75.15, 319.20°)
OKLaboklab(72.62% 0.1452 -0.1366)
OKLCHoklch(72.62% 0.199 316.7)
XYZxyz(51.6816, 34.6590, 92.7562)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778F8 #99F878
analogous
#9778F8 #D778F8 #F878D9
triadic
#D778F8 #F8D778 #78F8D7
tetradic
#D778F8 #F89778 #99F878 #78D9F8
square
#D778F8 #F89778 #99F878 #78D9F8
split-complementary
#D778F8 #D9F878 #78F897
monochromatic
#B00CE9 #C63EF5 #D778F8 #E8B2FB #F6E2FD

Accessibility & contrast

On white

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

On black

7.93
#D778F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778F8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778F8#FFFFFF#000000##000000
##D778F81.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d778f8;
/* rgb */ color: rgb(215, 120, 248);
/* oklch */ color: oklch(72.6% 0.199 316.7);
Tailwind
colors: {
  custom: {
    50: '#e6a2fb',
    500: '#d778f8',
    950: '#000000',
  },
}
SCSS
$custom: #d778f8;
$custom-light: #e6a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d778f8",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 284.531,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72622,
    "c": 0.1994,
    "h": 316.7
  },
  "luminance": 0.34657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D778F8

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

Preview Lab → · Contrast checker → · Palette generator →

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