#D778FC#D778FC

#D778FC is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 72.8% C 0.203 H 315.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D778FC
RGBrgb(215, 120, 252)
HSLhsl(283, 96%, 73%)
HSVhsv(283, 52%, 99%)
CMYKcmyk(14.7%, 52.4%, 0%, 1.2%)
CIE-LABlab(65.68, 57.68, -50.99)
CIE-LCHlch(65.68, 76.99, 318.52°)
OKLaboklab(72.83% 0.1456 -0.1421)
OKLCHoklch(72.83% 0.203 315.7)
XYZxyz(52.3088, 34.9099, 96.0594)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778FC #9DFC78
analogous
#9578FC #D778FC #FC78DF
triadic
#D778FC #FCD778 #78FCD7
tetradic
#D778FC #FC9578 #9DFC78 #78DFFC
square
#D778FC #FC9578 #9DFC78 #78DFFC
split-complementary
#D778FC #DFFC78 #78FC95
monochromatic
#B105F4 #C53CFB #D778FC #E9B4FD #F6E1FE

Accessibility & contrast

On white

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

On black

7.98
#D778FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778FC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778FC#FFFFFF#000000##000000
##D778FC1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#D58DAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d778fc;
/* rgb */ color: rgb(215, 120, 252);
/* oklch */ color: oklch(72.8% 0.203 315.7);
Tailwind
colors: {
  custom: {
    50: '#e6a2fe',
    500: '#d778fc',
    950: '#000000',
  },
}
SCSS
$custom: #d778fc;
$custom-light: #e6a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d778fc",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 283.182,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.20344,
    "h": 315.7
  },
  "luminance": 0.34908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D778FC

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

Preview Lab → · Contrast checker → · Palette generator →

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