#D778FD#D778FD

#D778FD is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 72.9% C 0.204 H 315.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D778FD
RGBrgb(215, 120, 253)
HSLhsl(283, 97%, 73%)
HSVhsv(283, 53%, 99%)
CMYKcmyk(15%, 52.6%, 0%, 0.8%)
CIE-LABlab(65.73, 57.89, -51.46)
CIE-LCHlch(65.73, 77.45, 318.36°)
OKLaboklab(72.88% 0.1457 -0.1435)
OKLCHoklch(72.88% 0.204 315.4)
XYZxyz(52.4677, 34.9735, 96.8962)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778FD #9EFD78
analogous
#9478FD #D778FD #FD78E0
triadic
#D778FD #FDD778 #78FDD7
tetradic
#D778FD #FD9478 #9EFD78 #78E0FD
square
#D778FD #FD9478 #9EFD78 #78E0FD
split-complementary
#D778FD #E0FD78 #78FD94
monochromatic
#B104F7 #C53CFC #D778FD #E9B4FE #F6E1FF

Accessibility & contrast

On white

2.63
#D778FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D778FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778FD
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778FD#FFFFFF#000000##000000
##D778FD1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#78A2FA
Tritanopia (blue-blind)
#D58DB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d778fd;
/* rgb */ color: rgb(215, 120, 253);
/* oklch */ color: oklch(72.9% 0.204 315.4);
Tailwind
colors: {
  custom: {
    50: '#e6a2fe',
    500: '#d778fd',
    950: '#000000',
  },
}
SCSS
$custom: #d778fd;
$custom-light: #e6a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d778fd",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 282.857,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72883,
    "c": 0.20447,
    "h": 315.4
  },
  "luminance": 0.34972
}

Semantic roles & 50–950 ramp

primary
#D778FD
secondary
#DEF7D4
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D778FD

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

Preview Lab → · Contrast checker → · Palette generator →

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