#D778FB#D778FB

#D778FB is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 72.8% C 0.202 H 315.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D778FB
RGBrgb(215, 120, 251)
HSLhsl(284, 94%, 73%)
HSVhsv(284, 52%, 98%)
CMYKcmyk(14.3%, 52.2%, 0%, 1.6%)
CIE-LABlab(65.63, 57.48, -50.52)
CIE-LCHlch(65.63, 76.53, 318.69°)
OKLaboklab(72.78% 0.1455 -0.1408)
OKLCHoklch(72.78% 0.202 315.9)
XYZxyz(52.1507, 34.8467, 95.2270)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778FB #9CFB78
analogous
#9578FB #D778FB #FB78DE
triadic
#D778FB #FBD778 #78FBD7
tetradic
#D778FB #FB9578 #9CFB78 #78DEFB
square
#D778FB #FB9578 #9CFB78 #78DEFB
split-complementary
#D778FB #DEFB78 #78FB95
monochromatic
#B107F1 #C53DF9 #D778FB #E9B3FD #F6E1FE

Accessibility & contrast

On white

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

On black

7.97
#D778FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778FB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778FB#FFFFFF#000000##000000
##D778FB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#D58CAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d778fb;
/* rgb */ color: rgb(215, 120, 251);
/* oklch */ color: oklch(72.8% 0.202 315.9);
Tailwind
colors: {
  custom: {
    50: '#e6a2fd',
    500: '#d778fb',
    950: '#000000',
  },
}
SCSS
$custom: #d778fb;
$custom-light: #e6a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d778fb",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 283.511,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.20243,
    "h": 315.9
  },
  "luminance": 0.34845
}

Semantic roles & 50–950 ramp

primary
#D778FB
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D778FB

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

Preview Lab → · Contrast checker → · Palette generator →

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