#D778DC#D778DC

#D778DC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.172 H 325.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D778DC
RGBrgb(215, 120, 220)
HSLhsl(297, 59%, 67%)
HSVhsv(297, 45%, 86%)
CMYKcmyk(2.3%, 45.5%, 0%, 13.7%)
CIE-LABlab(64.20, 51.53, -35.61)
CIE-LCHlch(64.20, 62.64, 325.35°)
OKLaboklab(71.26% 0.1414 -0.0977)
OKLCHoklch(71.26% 0.172 325.3)
XYZxyz(47.6580, 33.0496, 71.5651)
Luminance0.3305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778DC #7DDC78
analogous
#A578DC #D778DC #DC78AF
triadic
#D778DC #DCD778 #78DCD7
tetradic
#D778DC #DCA578 #7DDC78 #78AFDC
square
#D778DC #DCA578 #7DDC78 #78AFDC
split-complementary
#D778DC #AFDC78 #78DCA5
monochromatic
#A62DAD #C947CF #D778DC #E5A9E9 #F4D9F5

Accessibility & contrast

On white

2.76
#D778DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D778DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778DC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778DC#FFFFFF#000000##000000
##D778DC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#88A0D9
Tritanopia (blue-blind)
#DB83A0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d778dc;
/* rgb */ color: rgb(215, 120, 220);
/* oklch */ color: oklch(71.3% 0.172 325.3);
Tailwind
colors: {
  custom: {
    50: '#e5a2e7',
    500: '#d778dc',
    950: '#000000',
  },
}
SCSS
$custom: #d778dc;
$custom-light: #e5a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d778dc",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 297,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71255,
    "c": 0.17189,
    "h": 325.3
  },
  "luminance": 0.33047
}

Semantic roles & 50–950 ramp

primary
#D778DC
secondary
#C9E8C8
accent
#C61F27
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D778DC

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

Preview Lab → · Contrast checker → · Palette generator →

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