#D778EA#D778EA

#D778EA is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.9% C 0.185 H 320.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D778EA
RGBrgb(215, 120, 234)
HSLhsl(290, 73%, 69%)
HSVhsv(290, 49%, 92%)
CMYKcmyk(8.1%, 48.7%, 0%, 8.2%)
CIE-LABlab(64.82, 54.15, -42.42)
CIE-LCHlch(64.82, 68.79, 321.92°)
OKLaboklab(71.92% 0.1436 -0.1173)
OKLCHoklch(71.92% 0.185 320.8)
XYZxyz(49.5903, 33.8225, 81.7422)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778EA #8BEA78
analogous
#9E78EA #D778EA #EA78C4
triadic
#D778EA #EAD778 #78EAD7
tetradic
#D778EA #EA9E78 #8BEA78 #78C4EA
square
#D778EA #EA9E78 #8BEA78 #78C4EA
split-complementary
#D778EA #C4EA78 #78EA9E
monochromatic
#AC1FC8 #C743E2 #D778EA #E7ADF2 #F6E2FA

Accessibility & contrast

On white

2.70
#D778EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D778EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778EA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778EA#FFFFFF#000000##000000
##D778EA1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#D987A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d778ea;
/* rgb */ color: rgb(215, 120, 234);
/* oklch */ color: oklch(71.9% 0.185 320.8);
Tailwind
colors: {
  custom: {
    50: '#e5a2f1',
    500: '#d778ea',
    950: '#000000',
  },
}
SCSS
$custom: #d778ea;
$custom-light: #e5a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ea",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 290,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.1854,
    "h": 320.8
  },
  "luminance": 0.33821
}

Semantic roles & 50–950 ramp

primary
#D778EA
secondary
#D4EFCE
accent
#D51031
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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