#D778EF#D778EF

#D778EF is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.2% C 0.190 H 319.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D778EF
RGBrgb(215, 120, 239)
HSLhsl(288, 79%, 70%)
HSVhsv(288, 50%, 94%)
CMYKcmyk(10%, 49.8%, 0%, 6.3%)
CIE-LABlab(65.05, 55.12, -44.83)
CIE-LCHlch(65.05, 71.04, 320.88°)
OKLaboklab(72.17% 0.1442 -0.1242)
OKLCHoklch(72.17% 0.19 319.3)
XYZxyz(50.3188, 34.1139, 85.5787)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D778EF #90EF78
analogous
#9B78EF #D778EF #EF78CC
triadic
#D778EF #EFD778 #78EFD7
tetradic
#D778EF #EF9B78 #90EF78 #78CCEF
square
#D778EF #EF9B78 #90EF78 #78CCEF
split-complementary
#D778EF #CCEF78 #78EF9B
monochromatic
#AE19D4 #C741E9 #D778EF #E7AFF5 #F7E4FC

Accessibility & contrast

On white

2.68
#D778EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D778EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D778EF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D778EF#FFFFFF#000000##000000
##D778EF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#80A1EC
Tritanopia (blue-blind)
#D889A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d778ef;
/* rgb */ color: rgb(215, 120, 239);
/* oklch */ color: oklch(72.2% 0.190 319.3);
Tailwind
colors: {
  custom: {
    50: '#e5a2f4',
    500: '#d778ef',
    950: '#000000',
  },
}
SCSS
$custom: #d778ef;
$custom-light: #e5a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d778ef",
  "rgb": {
    "r": 215,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 287.899,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72165,
    "c": 0.19035,
    "h": 319.3
  },
  "luminance": 0.34112
}

Semantic roles & 50–950 ramp

primary
#D778EF
secondary
#D8F2D1
accent
#DB0A34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D778EF

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

Preview Lab → · Contrast checker → · Palette generator →

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