#D778DE#D778DE

#D778DE is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.3% C 0.174 H 324.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D778DE
RGBrgb(215, 120, 222)
HSLhsl(296, 61%, 67%)
HSVhsv(296, 46%, 87%)
CMYKcmyk(3.2%, 45.9%, 0%, 12.9%)
CIE-LABlab(64.29, 51.90, -36.59)
CIE-LCHlch(64.29, 63.50, 324.81°)
OKLaboklab(71.35% 0.1417 -0.1005)
OKLCHoklch(71.35% 0.174 324.7)
XYZxyz(47.9244, 33.1562, 72.9685)
Luminance0.3315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778DE #7FDE78
analogous
#A478DE #D778DE #DE78B2
triadic
#D778DE #DED778 #78DED7
tetradic
#D778DE #DEA478 #7FDE78 #78B2DE
square
#D778DE #DEA478 #7FDE78 #78B2DE
split-complementary
#D778DE #B2DE78 #78DEA4
monochromatic
#A72BB0 #C847D2 #D778DE #E6A9EA #F4DAF6

Accessibility & contrast

On white

2.75
#D778DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D778DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778DE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778DE#FFFFFF#000000##000000
##D778DE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D94E2
Deuteranopia (green-blind)
#88A0DB
Tritanopia (blue-blind)
#DB84A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d778de;
/* rgb */ color: rgb(215, 120, 222);
/* oklch */ color: oklch(71.3% 0.174 324.7);
Tailwind
colors: {
  custom: {
    50: '#e5a2e8',
    500: '#d778de',
    950: '#000000',
  },
}
SCSS
$custom: #d778de;
$custom-light: #e5a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d778de",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 295.882,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.17379,
    "h": 324.7
  },
  "luminance": 0.33154
}

Semantic roles & 50–950 ramp

primary
#D778DE
secondary
#CBE9C9
accent
#C81D29
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D778DE

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

Preview Lab → · Contrast checker → · Palette generator →

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