#D778E8#D778E8

#D778E8 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.183 H 321.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D778E8
RGBrgb(215, 120, 232)
HSLhsl(291, 71%, 69%)
HSVhsv(291, 48%, 91%)
CMYKcmyk(7.3%, 48.3%, 0%, 9%)
CIE-LABlab(64.73, 53.77, -41.46)
CIE-LCHlch(64.73, 67.90, 322.37°)
OKLaboklab(71.82% 0.1433 -0.1145)
OKLCHoklch(71.82% 0.183 321.4)
XYZxyz(49.3046, 33.7082, 80.2375)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778E8 #89E878
analogous
#9F78E8 #D778E8 #E878C1
triadic
#D778E8 #E8D778 #78E8D7
tetradic
#D778E8 #E89F78 #89E878 #78C1E8
square
#D778E8 #E89F78 #89E878 #78C1E8
split-complementary
#D778E8 #C1E878 #78E89F
monochromatic
#AB21C4 #C844DF #D778E8 #E6ACF1 #F6E1FA

Accessibility & contrast

On white

2.71
#D778E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D778E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778E8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778E8#FFFFFF#000000##000000
##D778E81.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#83A1E5
Tritanopia (blue-blind)
#D987A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d778e8;
/* rgb */ color: rgb(215, 120, 232);
/* oklch */ color: oklch(71.8% 0.183 321.4);
Tailwind
colors: {
  custom: {
    50: '#e5a2ef',
    500: '#d778e8',
    950: '#000000',
  },
}
SCSS
$custom: #d778e8;
$custom-light: #e5a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d778e8",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 290.893,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71821,
    "c": 0.18344,
    "h": 321.4
  },
  "luminance": 0.33706
}

Semantic roles & 50–950 ramp

primary
#D778E8
secondary
#D2EECD
accent
#D31330
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D778E8

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

Preview Lab → · Contrast checker → · Palette generator →

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