#D778FE#D778FE

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

Color values

HEX#D778FE
RGBrgb(215, 120, 254)
HSLhsl(283, 99%, 73%)
HSVhsv(283, 53%, 100%)
CMYKcmyk(15.4%, 52.8%, 0%, 0.4%)
CIE-LABlab(65.78, 58.09, -51.93)
CIE-LCHlch(65.78, 77.92, 318.20°)
OKLaboklab(72.94% 0.1457 -0.1449)
OKLCHoklch(72.94% 0.205 315.2)
XYZxyz(52.6274, 35.0374, 97.7373)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778FE #9FFE78
analogous
#9478FE #D778FE #FE78E2
triadic
#D778FE #FED778 #78FED7
tetradic
#D778FE #FE9478 #9FFE78 #78E2FE
square
#D778FE #FE9478 #9FFE78 #78E2FE
split-complementary
#D778FE #E2FE78 #78FE94
monochromatic
#B202FA #C53BFE #D778FE #E9B5FE #F6E1FF

Accessibility & contrast

On white

2.62
#D778FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D778FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778FE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778FE#FFFFFF#000000##000000
##D778FE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#D48DB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d778fe;
/* rgb */ color: rgb(215, 120, 254);
/* oklch */ color: oklch(72.9% 0.205 315.2);
Tailwind
colors: {
  custom: {
    50: '#e6a2ff',
    500: '#d778fe',
    950: '#000000',
  },
}
SCSS
$custom: #d778fe;
$custom-light: #e6a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d778fe",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 282.537,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72936,
    "c": 0.20549,
    "h": 315.2
  },
  "luminance": 0.35036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D778FE

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

Preview Lab → · Contrast checker → · Palette generator →

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